MADRID - Fernando Torres scored twice as Atletico Madrid ended Real Madrid's defence of the Copa del Rey title with a 2-2 draw on Thursday.

Atletico advanced 4-2 on aggregate and will play Barcelona or Elche in the quarterfinals.

Torres stunned the Santiago Bernabeu by striking from Antoine Griezmann's pass seconds into the Spanish capital derby.

Sergio Ramos made it 1-1 soon after, but Atletico hung on in its area until Griezmann set up Torres for his second goal just after the halftime restart.

Cristiano Ronaldo levelled the score again, leaving Madrid needing three more goals in 36 minutes to advance.

Since losing last season's Champions League final to Madrid, Atletico has beaten its main rivals in the Spanish Super Cup, the league and the Copa del Rey.