Barcelona's Mariona won the game with a penalty in stoppage time
Mariona Caldentey scored a stoppage-time penalty as Spain ended a difficult week with a 3-2 UEFA Nations League win over Sweden in Gothenburg.
Madgalena Eriksson had opened the scoring for the hosts but goals from Athenea del Castillo and Eva Navarro either side of the break gave Spain the advantage.
Lina Hurtig's 82nd-minute looked to have earned point for Sweden only for Mariona to score from the spot after Amanda Ilestedt had been sent off.
The win was even more impressive given how Spain's preparations for this game had developed.
The majority of the squad were called up despite declaring themselves unavailable for the national team and eventually decided to stay after a series of late-night meeting with the RFEF and the government.
On Wednesday, the team training together for the first time since winning the World Cup one month ago and they flew to Gothenburg on Thursday.
Sweden are ranked No.1 in the world but Spain, on the back of four hours sleep per night over the last few weeks, according to Alexia Putellas, once again showed why they are world champions.
Their mental strength to put on such a performance after everything has happened since they beat England 1-0 in the World Cup final in Sydney is to be admired.