Swedish Prime Minister Magdalena Andersson handed in her resignation on Thursday after she accepted that her government was defeated in Sunday's parliamentary election.
Andersson's centre-left coalition looks set to narrowly lose to a bloc of right-wing parties, 176 seats to 173, with 99 percent of the votes counted.