Bhumibol succeeded his brother, but returned to Switzerland before the end of the 100-days mourning period. Despite his interest in science and technology, he changed the subject and enrolled in law and political science to prepare for his duties as head of state. His uncle, Rangsit, Prince of Chainat, was appointed Prince Regent. In Bhumibol's name, Prince Rangsit authorized a military coup that overthrew the government of Thamrongnawasawat in November 1947. He also signed the 1949 constitution, which gave back to the monarchy many of its powers that had been taken away by the 1932 Revolution