Atletico Madrid has gained ground on Real Madrid and Barcelona with a 2-1 win at Sevilla in the Spanish league.