STOCKHOLM (AP) – Stefan Lofven, Sweden´s Social Democratic prime minister since 2014, has asked the country´s parliament speaker to find a new government.

Lofven became the first Swedish leader ever to lose a confidence vote in parliament a week ago. He didn’t call for an early election as the Swedish Constitution allows him to. He is formally stepping down but will continue in a caretaker role until a new government can be formed.

“A snap election is not what is best for Sweden,” Lofven said. “The speaker will now begin work on proposing a prime minister who can be tolerated by the Riksdag (the assembly). The government will continue to govern the country for now but as the caretaking government.”

The parliament speaker since 2018, Andreas Norlen, will ask party leaders who may be able to form a government. He alone decides which of the party leaders can begin these talks.

It is expected that Lofven, who heads Sweden´s largest party with 100 of Riksdagen´s 349 seats, will start these talks. His Cabinet, a Social Democratic-Green coalition, is a minority government that has relied on votes from the small Left Party to pass laws.

The no-confidence motion against Lofven was called by the nationalist Sweden Democrats party – which has been criticizing the Social Democratic Party for years – but it ultimately succeeded because the Left Party withdrew its support from the government over proposed legislation to tackle a housing shortage. Lawmakers voted 181-109 against Lofven, with 51 abstentions.

The political situation in Sweden now seems deadlocked.

Lofven has been able to get the Left Party back as an ally but the small Liberals, which earlier supported the Social Democratic government, now want a center-right government. The Conservatives, meanwhile, still want a Lofven at the helm but doesn´t want to made deals with the Sweden Democrats or the left-leaning Left Party.

In the center-right bloc, the Moderates, Sweden´s second largest party, wants its leader Ulf Kristersson as prime minister.

The last time coalition talks took place in Sweden was following the 2018 election that created a deadlocked parliament. It took four months of negotiations to produce a government that Lofven presented in January 2019.

In the present assembly, the left-leaning side and the center-right bloc have about 40% of the vote each.

None of the sides want to cooperate with the Sweden Democrats, a right-wing populist party that is considered extreme.

In Sweden, the next general election will be held on Sept. 11.