Two-time champions Germany suffered a shock Women’s World Cup quarter-final exit as Sweden came from behind to beat them 2-1 in Rennes.
Germany had gone ahead through Lina Magull’s acrobatic finish but Sweden responded when Sofia Jakobsson ran clear on goal and coolly finished.
Stina Blackstenius poked in from close range early in the second half and they managed to hold on to their lead.
Sweden’s semi-final opponents are the Netherlands, who defeated Italy 2-0.
Sweden and the Netherlands join Great Britain – who benefit from England’s run to the last four – in qualifying for the 2020 Olympic Games in Tokyo as the top three European teams at the World Cup.
Germany will not get the chance to defend the gold medal they won at Rio 2016.
Chelsea’s Swedish defender Magdalena Eriksson had spoken before the game about being “tired of hearing about this German ghost”, having not beaten their opponents in a major tournament since 1995 and losing to them in four major finals, including the 2003 showpiece.
There looked to be more disappointment on the cards for the Swedes as goalkeeper Hedvig Lindahl had to keep out Lina Magull’s free-kick and Lea Schuller’s header early on.
Magull then got on the scoresheet when she controlled and brilliantly converted the opener from Sara Dabritz’s pass, but Sweden turned the game around thereafter.
Germany had not conceded a single goal in this tournament but that changed when former Chelsea forward Jakobsson latched on to a long ball and equalised before Blackstenius scored from close range after German goalkeeper Almuth Schultz parried Fridolina Rolfo’s header.
The expected German onslaught failed to materialise and their best chance of taking the game to extra time fell to teenager Lena Oberdorf with two minutes remaining, but she headed wide of an empty net after Lindahl missed the cross.