Spain is the highest-ranked team still left in the tournament, and now has the chance to win the World Cup for the first time ever.
Spain will play for its first Women's World Cup championship after Olga Carmona's goal in the 89th minute lifted La Roja to a 2-1 victory over Sweden in the Tuesday semifinal.
Spain, which overcame last year's near mutiny by its players against coach Jorge Vilda, will play the winner of tournament co-host Australia and England on Sunday in the final in Sydney.
The controversy surrounding Spain dates to last September, when 15 players signed a letter complaining about Vilda and the conditions for the national team. Three of those players are on this World Cup team, and Vilda a day before the game against Sweden praised the Spanish federation for its support.
Now, La Roja has a chance to become a first-time World Cup champion.
Ranked seventh in the world by FIFA, Spain's defeat of second-ranked Sweden makes it the highest-ranked team remaining in the tournament.
“This is a historic day,” said Vilda. “We’re in the final, that’s what we wanted.”
Sweden has now lost in four of five semifinals and will play try to finish third for a fourth time.
Carmona's goal capped a flurry of late scoring that saw Sweden tie the game, then Spain win it 90 seconds later on the surprise score.
Salma Paralluelo, the 19-year-old super-sub who also scored the game-winner in Spain’s 2-1 extra-time quarterfinals victory over the Netherlands, scored in the 81st minute to break a scoreless game. She gestured for the crowd to cheer, and the crowd thought it was celebrating Spain's decider.
But the celebration was brief. Rebecca Blomqvist tied it for Sweden in the 88th.
Then, just 90 seconds later, Carmona beat Sweden goalkeeper Zecira Musovic with the game-winner.
“It was a very tough game. It could’ve been difficult to recover from their goal, but we’ve shown that his team can deal with everything.” said Paralluelo. “We deserved this. We took this little step, and now we need that final push."
The Swedes have never won a World Cup. They were the 2003 runner-up and have finished third three times. Sweden won silver medals at the Tokyo Olympics two years ago, and at the 2016 Games in Brazil.
Spain is playing in only its third overall World Cup. Four years ago, La Roja advanced to the knockout round but lost to eventual champions the United States.
“Now it’s the final. I think we have to do what we’ve done in every match," said Paralluelo. "We’ve overcome every challenge and now we face the ultimate challenge, the big one”
Spain dominated possession and had the better chances in the first half. Carmona’s blast from the top of the box was a low shot went just wide. Sweden’s defense, which had allowed just two goals in the tournament, held.
Putellas nutmegged Filippa Angeldal before delivering a cross in the 35th minute but Magdalena Eriksson was there to clear it away.
Spain goalkeeper Cata Coll dove to save Fridolina Rolfo’s shot late in the half, then punched the ball away on a corner kick to keep the game scoreless at the half.
Sweden had energy to start the second half but Spain still had chances. Paralleulo’s header in the 63rd minute sailed over the goal.
Alba Redondo was on the ground in front of the goal but got a foot on the ball and appeared to score in the 71st minute, but she was just wide and the ball was caught up in the side netting.
There were a few tense moments when Paralluelo’s goal was checked by video review, but the goal was awarded.
There were 43,217 fans on hand for the match at Auckland’s Eden Park.