Cristiano Ronaldo the hero for Juventus as they complete dramatic comeback against Atletico Madrid

Credit: PA

Cristiano Ronaldo fired a hat-trick as Juventus beat Atletico Madrid 3-0 to turn their tie on its head and reach the Champions League quarter-finals.

Late goals from from Jose Gimenez and Diego Godin had earned Atletico a 2-0 first-leg advantage, but Ronaldo headed Juve level with headers in either half and converted a late penalty to clinch a deserved 3-2 aggregate win.

Ronaldo produced two towering headers and showed ice cool nerves to smash home an 86th-minute spot-kick after Federico Bernardeschi went down under Angel Correa's challenge.

Juve, runaway leaders in Serie A after going 27 games unbeaten and 18 points clear of closest rivals Napoli, dominated early possession.

Ronaldo scored a late penalty to complete his hat trick and dump Atletico out of the Champions League. Credit: PA

Blaise Matuidi and Bernardeschi had shots blocked before Atletico striker Antoine Griezmann's swerving shot troubled Juve goalkeeper Wojciech Szczesny, but Alvaro Morata was flagged offside.

Juve responded and took the lead on the night in the 27th minute through Ronaldo, who out-jumped Godin at the far post and headed Bernardeschi's cross powerfully beyond Atletico goalkeeper Jan Oblak.

It was the Portuguese's 22nd goal in 36 games for Juve and his 23rd in 33 appearances against the Spanish club.

Bernardeschi twice fired over from outside the penalty area and Ronaldo went close to levelling the scores on aggregate when he headed Leonardo Spinazzola's cross wide.

Ronaldo headed home in the first half to give Juventus a deserved lead. Credit: PA

Giorgio Chiellini went closer for the Italians just before half-time as his header towards the top corner forced a brilliant save from Oblak.

Atletico, second in LaLiga behind leaders Barcelona, but five points ahead of city rivals Real Madrid, stirred in first-half stoppage time.

Morata, back in for the suspended Diego Costa after being rested at the weekend, headed Koke's fine cross inches over the crossbar.

Four minutes into the second period Ronaldo struck his second to level the tie, soaring highest again to head home Joao Cancelo's cross.

The Portuguese forward scored another header in the second half. Credit: PA

Oblak appeared to have pulled off a stunning save, but Dutch referee Bjorn Kuipers checked with the goal-line technology on his watch and correctly awarded a goal.

Bernardeschi made a hash of his header from another Cancelo cross before Atletico's Angel Correa crashed a rising shot just off target.

Mario Mandzukic fired an angled effort wide as the game entered the final quarter and Moise Kean was narrowly off target as Juve chased the decisive third goal.

There were four minutes remaining when Bernardeschi's storming run carried him into the box and, when he was nudged over by Correa, Kuipers pointed to the spot and Ronaldo made no mistake from 12 yards.

Atletico were second best for much of the evening. Credit: PA