Brazil thrashed world champions Spain to set up a repeat of the 2008 Olympic women's football final against the United States in Paris on Saturday.
An Irene Paredes own goal set Brazil on their way, with Gabi Portilho scoring a second on the stroke of half-time to stun the side that many had tipped as favourites for the gold medal.
Adriana added a third for Brazil, who were still without their all-time leading scorer Marta, 38, after she was suspended following her dismissal in the Group C defeat to the Spaniards.
While Duda Sampaio headed into her own goal to give Spain hope, Kerolin raced clear in the first of 15 added minutes to score Brazil's fourth before Salma Paralluelo bundled in a late consolation.
Spain will now play Germany for the bronze medal in Lyon on Friday (14:00).
Brazil are now guaranteed to at least match their previous best showing in the competition, when they won the silver medal in 2004 and 2008 - on both occasions losing to the US.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
2 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
2 hours -
Duct-taped banana artwork sells for $6.2m in NYC
3 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
3 hours -
Actors Jonathan Majors and Meagan Good are engaged
3 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
3 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
3 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
3 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
4 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
4 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
4 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
4 hours -
Netflix debuts Grain Media’s explosive film
5 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
5 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
5 hours