 He took the latter position after some persuasion, as he was intent to take up a job as the headmaster of the folk high school in Brunnsvik.When Hjalmar Branting became ill and left office before his death in February 1925, and Fredrik Thorsson who was a likely candidate to replace Branting as Prime Minister also fell sick and died, Sandler was appointed Prime Minister, at the age of 41.As Prime Minister, Sandler had to deal with the issue of reducing the Swedish military, as had been promised during the election campaign.