Prime Minister Stefan Löfven tendered his resignation on 10 November 2021, leaving his government in place as a caretaker cabinet until a new Prime Minister is elected by the Riksdag. Government formation talks commenced the following day with Magdalena Andersson, the newly-elected head of the Social Democratic party offering to lead a government. She was formally nominated to form a government by the Speaker of the Riksdag, Andreas Norlén later the same day. It was the third government formation process since the 2018 general election, the first taking a record 144 days before the formation of Löfven's second cabinet. The process took place just ten months ahead of the 2022 general election.