(CNN) -- Cristiano Ronaldo scored the winner as Real Madrid beat 10-man Manchester United 2-1 Tuesday to reach the quarterfinals of the Champions League 3-2 on aggregate after a pulsating match which turned on the controversial dismissal of Nani just before the hour mark. United had just gone ahead on the night through a Sergio Ramos own goal when the Portugal midfielder attempted to control a high clearance from his defense. But Nani's foot was high and his studs caught Real's Alvaro Arbeloa in his midriff as he moved forward to intercept the ball. Turkish referee Cuneyt CakÄ±r then stunned the Old Trafford by showing a red card to Nani as he recovered from the collision.
@highlight
Real Madrid beat 10-man Manchester United 2-1
@highlight
Nani controversially sent off just before the hour mark
@highlight
Goals from Luka Modric and Cristiano Ronaldo for Real
@highlight
Borussia Dortmund beat Shakhtar Donetsk 3-0 to go through 5-2 on aggregate
"The whole @placeholder campaign has gone like clockwork and this was an unbelievable 90 minutes from us."