Answer
After the 2022 general election, Andersson announced her intention to resign as Prime Minister. Her decision came after her party, the Social Democrats, lost seats in the election and failed to secure a majority in parliament. Andersson's resignation marked the end of her tenure as Prime Minister, which had lasted for less than a year.