Real Madrid's Cristiano Ronaldo celebrates scoring during the Champions League quarterfinal second leg soccer match between Real Madrid and Bayern Munich at Santiago Bernabeu stadium in Madrid, Spain, Tuesday April 18, 2017. (AP Photo/Francisco Seco)

MADRID, Spain - Cristiano Ronaldo scored a hat-trick to send Real Madrid through to the Champions League semi-finals with a 4-2 extra-time win against 10-man Bayern Munich to seal a 6-3 aggregate victory in controversial circumstances.

A bizarre Sergio Ramos own goal forced the extra period after Robert Lewandowski opened the scoring for Bayern from the penalty spot and Ronaldo equalised.

Marcelo twice cleared off the line for Madrid and Jerome Boateng did the same for Bayern in a thrilling game, which was tilted in Madrid’s favour by Arturo Vidal’s dismissal for two yellow cards, the second of which was harsh.

Ronaldo put Madrid level at 2-2 on the night in the first period of extra time when he scored his 100th Champions League goal, from a clearly offside position, before he wrapped up his treble and Marco Asensio added a fourth. (Reporting by Rik Sharma,; Editing by Neville Dalton)