Germany were left "bitterly disappointed" after Stina Blackstenius's winner knocked them out of the World Cup and sent Sweden into the last four of the women's World Cup with a 2-1 victory in Rennes on Saturday.
The Swedes had last claimed a tournament win over Germany at the 1995 World Cup but they came from behind to triumph in an enthralling game played in ferocious heat.
Lina Magull gave Germany the lead, but the Swedes ran the German back line ragged for much of the match. Sofia Jakobsson got their equaliser before the front three of Fridolina Rolfo, Jakobsson and Blackstenius combined for the winning goal just after half-time.
"We are bitterly disappointed. We started well, but we just couldn't deal with their long balls," Germany goalkeeper Almuth Schult told ARD.
Once the dominant force in European women's football, two-time world champions Germany have now failed to reach the semi-finals in two of their last three World Cups.
Defeat also robs them of the chance to defend their gold medal at the Olympic Games in Tokyo next year.
Germany won the title at the Rio Olympics three years ago, beating Sweden in the final, but still needed to finish among the top three European teams at this World Cup to book their ticket to Tokyo. Sweden will join the Netherlands and Great Britain at the Games instead.
"The defeat hurts, but we are in a process. We will grow from this experience," coach Martina Voss-Tecklenburg told ARD, and suggested that the setback may spark a generational shift in the national team.
"I know that some players are considering (ending their international careers). We have young players coming up, and we will use the next two years before the European Championships," said Voss-Tecklenburg.
The Germans looked the sharper side in the opening exchanges, and they took the lead on 15 minutes through Magull.
A darting run and a neat through ball from Sara Daebritz unleashed Magull in the box, and she swept in from point-blank range after a deft first touch.
Sweden took just seven minutes to respond, though, Jakobsson leaving the German centre-backs in the dust as she chased down a long ball and slotted it past goalkeeper Almuth Schult.
The German goalkeeper kept her side in the game with several more saves in the first half, but could do nothing to stop Sweden's winner just after the break.
After parrying away a Rolfo header from Jakobsson's cross, Schult lay helpless as Blackstenius prodded the ball in from close range.
It was a deserved lead for Sweden, despite the Germans' protests that Magull had been lying injured when the goal was scored.
Despite bringing on star player Dszenifer Marozsan, who had missed the previous three games with a broken toe, Germany remained blunt as the clock ticked down.
Lena Oberdorf came agonisingly close with a header in the dying minutes, but Sweden held on to set up a semi-final meeting with the Netherlands in Lyon next Wednesday.