Hours after assuming office, Andersson resigned from the post when a member of the ruling coalition, the center-left Swedish Green party, quit the government in protest after lawmakers passed a budget bill backed by three right-wing parties. Andersson’s Social Democratic Party had put forward an alternative budget proposal that failed to pass. Andersson said she hopes to form a single-party ruling government.