When the final whistle blew in Morocco, four African nations had punched their tickets to the 2027 Women's World Cup — and one of them just pulled off a shock that nobody saw coming.

Malawi, a country ranked 153rd in the world, stunned Ghana 2-1 on Wednesday to reach the semi-finals of the Women's Africa Cup of Nations (Wafcon) and clinch their very first World Cup spot. The team trailed 1-0 before goals from Temwa Chawinga and Rose Kadzere completed a remarkable comeback. "We knew we could do it," Chawinga said after the match. "Now the whole world will see us."

Malawi wasn't alone in celebrating. Algeria also earned their first-ever Women's World Cup qualification after beating 10-player Ivory Coast 2-1. When Ivorian midfielder N'Sira Oudraogo was sent off for a late challenge while her team led 1-0, Algeria took full advantage — goals from Ines Khiri and Amira Ould Braham turned the game around and sent the Desert Lionesses to Brazil.

Meanwhile, 19-year-old Myriam Nyadjou announced herself to the football world with a moment of pure brilliance. Playing for Cameroon, she unleashed a spectacular 30-yard free-kick that flew into the net, sealing a 1-0 win over Nigeria and a World Cup place. Morocco joined them too, defeating 2023 semi-finalists South Africa 2-1 with goals from Sakina Ouzraoui Diki and Hanane Ait El Haj.

The Wafcon is doubling as a World Cup qualifier for African nations — anyone who reaches the last four automatically books their spot in Brazil next summer. The tournament runs from June 24 to July 25, 2027, and will feature 32 teams. So far, 18 spots have been filled, with five continents represented: Australia, China, Japan, and South Korea are among the Asian qualifiers; Denmark, France, Germany, and Spain are Europe's representatives; and hosts Brazil will lead the South American contingent.

For the four African nations celebrating now, the journey is just beginning. But for Malawi's players, who hail from one of the world's least developed countries, the moment feels enormous. "This is for everyone who believed in us," Kadzere said. "Now we go to Brazil."