Gareth Bale carries the ball forward in the early stages at the Allianz Arena: Getty

Cristiano Ronaldo scored twice as Real Madrid came from behind to beat 10-man Bayern Munich 2-1 in the first leg of their Champions League quarter-final at the Allianz Arena.

Bayern, who had thrashed English club Arsenal 10-2 on aggregate to take their place in the last eight, went in front after 26 minutes through a bullet header from Arturo Vidal.

The Chile midfielder, though, wasted a chance to double the German club's advantage in first-half stoppage time when he blasted a penalty over the crossbar after what looked a poor handball decision against Dani Carvajal.

Real were level two minutes into the second half when Ronaldo swept in a cross from Carvajal.

Bayern had to play the final 30 minutes a man down after Javi Martinez picked up two quick cautions.

And Ronaldo took his tally to 100 European goals when he stabbed the ball past Manuel Neuer in the 77th minute to leave Carlo Ancelotti's men with it all to do in next week's second leg back at the Bernabeu.