Such a hasty decision to resign is due to the fact that the government's program, presented by the leader of the Social Democratic Party Andersson in parliament on Wednesday, did not find support.
The government's budget proposal was rejected in favor of a proposal submitted by the opposition, which consists of the right-wing populist Swedish Democrats. Sweden's third largest party is rooted in the neo-Nazi movement. 154 MPs voted for the opposition's budget proposal, 143 against.
After the failure of the coalition partner, the Green Party left the bipartisan Minority Cabinet.
Then Andersson decided it was best to resign. It came more than seven hours after she went down in history as the first woman to head the country's Cabinet.
"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 stated in a news conference.
Former Finance Minister Andersson told Parliament Speaker Andreas Norlén that she was still interested in running a one-party Social Democratic government. Norlen, speaker of Sweden's 349-seat parliament, said he would contact the leaders of eight Swedish parties "to discuss the situation." He will announce the decision on Thursday.
Despite the fact that the Green Party has left the government, it has stated its readiness to support Andersson in the new vote for her appointment as prime minister.
Andersson was appointed to replace Stefan Löfven as party leader and prime minister, which he resigned earlier this year. Earlier in the day, 117 MPs voted for Andersson, 174 voted against her appointment, 57 abstained and one parliamentarian was absent.
Under the Swedish Constitution, prime ministers can be appointed and run by the government if a parliamentary majority of at least 175 MPs does not vote against them.
As it was reported, on June 21 the Swedish parliament for the first time in history expressed distrust to the prime minister, the leader of Social Democratic party Stefan Löfven.
One week later, the Prime Minister of Sweden, Stefan Löfven, announced his resignation to the speaker and the king.