Bayern Munich 1 Real Madrid 2: Cristiano Ronaldo brace hands Real comeback win as Javi Martinez sees red

Victory | Cristiano Ronaldo's two goals settled the game: LLUIS GENE/AFP/Getty Images

Cristiano Ronaldo scored twice for Real Madrid to beat Bayern Munich 2-1 in the first leg of their Champions League quarterfinal on Wednesday, ending the German side's tournament record of 16 straight wins at home.

Ronaldo's second-half goals ensured Madrid came from behind following Arturo Vidal's 25th-minute header to put the defending champions on course to reach the semifinals for a seventh successive year. The second leg will take place in Madrid on Tuesday.

Bayern were without club top-scorer Robert Lewandowski after he failed to recover from a knock to his right shoulder, but the German giants came into their clash with Real knowing they had not been beaten at home in the competition since April 2014 - when they lost 4-0 to Madrid in the semifinals.

Bayern forced several corners early on and the sixth finally paid off when Vidal headed home through Keylor Navas' fingers.

Marching orders | Javi Martinez is shown a red card (Bongarts/Getty Images)

The hosts should then have been 2-0 up at the break, but Vidal sent his penalty well wide of the mark after Dani Carvajal was adjudged to have handled the ball.

Ronaldo scored two minutes after the interval with one touch to Carvajal's cross.

Bayern were then dealt a blow with half an hour to play when Javi Martinez was sent off following two yellow cards within three minutes for fouls on Ronaldo.

Manuel Neuer later denied Karim Benzema, then Ronaldo from point blank, but the Bayern goalkeeper couldn't stop the ball from squirming between his legs in the 77th minute to give Madrid the clear advantage.

By using Yahoo you agree that Yahoo and partners may use Cookies for personalisation and other purposes