COPENHAGEN, Denmark -- Hours after being tapped as Sweden's first female prime minister, Magdalena Andersson resigned Wednesday after she suffered a budget defeat in parliament and her coalition partner the Greens left the two-party minority government.
The government's own budget proposal was rejected in favor of one presented by the opposition that includes the right-wing populist Sweden Democrats. Sweden's third-largest party is rooted in a neo-Nazi movement. The vote was 154-143 in favor of the opposition's budget proposal.
Andersson, leader of the Social Democratic party, decided it was best to step down more than seven hours after she made history by becoming the first woman to lead the country.
"For me, it is about respect, but I also do not want to lead a government where there may be grounds to question its legitimacy," Andersson said at a news conference.
Andersson, who was finance minister before becoming prime minister, informed parliamentary Speaker Andreas Norlen that she is still interested in leading a Social Democratic one-party government. Norlen, the speaker of Sweden's 349-seat parliament, said he will contact Sweden's eight party leaders "to discuss the situation." Today, he will announce the road ahead.
Andersson said "a coalition government should resign if a party chooses to leave the government. Despite the fact that the parliamentary situation is unchanged, it needs to be tried again."
Even though the Green Party pulled its support for her government, it said it is prepared to stand behind Andersson in a new vote to tap a prime minister.
But the Greens said it was in the best interests of the party to pull support after the budget defeat in parliament.
"We have a united party behind us saying we cannot sit in government that implements a policy (the Sweden Democrats) negotiated. We must look our voters in the eye and feel pride," said Marta Stenevi, Green Party spokesperson.
Another Green Party spokesperson, Per Bolund, said "that is something we deeply regret."
The approved budget was based on the government's own proposal, but of the 74 billion kronor ($8.2 billion) that the government wanted to spend on reforms, just over 20 billion kronor ($2.2 billion) will be redistributed next year, Swedish broadcaster SVT said. The approved budget aims to reduce taxes, increase salaries for police officers and provide more money to sectors of Sweden's judiciary system.
Andersson's appointment as prime minister had marked a milestone for Sweden, viewed for decades as one of Europe's most progressive countries when it comes to gender relations, but which had yet to have a woman in the top political post.
Andersson had been tapped to replace Stefan Lofven as party leader and prime minister, roles he relinquished earlier this year.
Earlier in the day, 117 lawmakers voted yes to Andersson, 174 rejected her appointment, 57 abstained and one lawmaker was absent.
Under the Swedish Constitution, prime ministers can be named and govern as long as a parliamentary majority -- a minimum of 175 lawmakers -- is not against them.
Sweden's next general election is scheduled for September 2022.