Cristiano Ronaldo scored and missed a penalty as Portugal edged a thrilling encounter with Denmark to reach the Nations League semi-finals.
The quarter-final had ended 3-3 on aggregate after 90 minutes, but Francisco Trincao put the home side ahead seconds into the extra period after Kasper Schmeichel had saved Goncalo Ramos' shot.
Substitute Ramos completed the scoring with five minutes left.
In a dramatic contest, Patrick Dorgu gifted Portugal an early penalty after bringing down Ronaldo inside the area, but Schmeichel got down low to his left to keep out the Portugal captain's effort.
Undeterred, the hosts continued to create better openings and took a deserved lead seven minutes before half-time when Fulham defender Joachim Andersen inadvertently headed Bruno Fernandes' corner into his own net.
Ronaldo had a goal disallowed for offside against Rafael Leao on the stroke of half-time before Rasmus Kristensen's back-post header made it 1-1 on the night and restored Denmark's aggregate advantage.
On an eventful night for the five-time Ballon d'Or winner, Ronaldo's close-range 72nd-minute finish made it 2-1 after Schmeichel had saved Fernandes' initial effort.
But Denmark appeared to be heading through in normal time when Christian Eriksen converted Dorgu's low cross just four minutes later.
However, Trincao beat Schmeichel with a powerful finish from the edge of the box with four minutes of the 90 remaining, before netting his second of the game early in the first half of extra time.
And Ramos netted a fifth for Portugal after converting Diogo Jota's square ball from close range.
Before kick-off, Manchester City midfielder Bernardo Silva was honoured with a commemorative trophy after becoming only the eighth player to reach 100 appearances for Portugal's senior men's team.
Roberto Martinez's side will face Germany in the last four after Julian Nagelsmann's team beat Italy 5-4 on aggregate in their last-eight tie.
Denmark, meanwhile, will now play Scotland in World Cup qualifying Group C.
Latest Stories
-
Publicis West Africa, Empire Marcomm forge strategic alliance to transform marketing innovation
1 hour -
Nigerian pastor acquitted of rape to leave South Africa
1 hour -
Policy rate to be held steady – Databank Research
1 hour -
Biden diagnosed with ‘aggressive form’ of prostate cancer
2 hours -
‘We are unsatisfied and upset’ – Arteta on Arsenal season
2 hours -
T-bills auction: Government fails to meet target for 3rd consecutive week; interest rates tumble
2 hours -
Lamine Yamal scores by Villareal upset Barca to claim top-five spot
2 hours -
Police Ladies stun Ampem Darkoa Ladies to clinch maiden Women’s Premier League title
2 hours -
Ghana’s economy to expand by 5.6% in quarter 2, 2025 – Report
2 hours -
Real Madrid leave it late to beat nine-man Savilla
2 hours -
Alcaraz ends Sinner’s streak to win Italian Open
2 hours -
Marijuana-infused Kings Orange Flavoured Liqueur and Jupiter 1990 are unsafe for consumption – FDA warns
2 hours -
Internet data cost: No one has power to revise tariffs except Finance Minister – Sam George
3 hours -
Sunday power cuts due to heavy rainstorm – ECG
3 hours -
Flooding on Pokuase–Amasaman road leaves commuters stranded
4 hours