Prime Minister of Thailand Rajanubhab took over this role. In fact, the office most considered the precursor of that of the prime minister was the ancient office of "Samuha Nayok" (สมุหนายก), which was run by an "Akkhra Maha Senabodi" (อัครมหาเสนาบดี) or "chief minister in charge of civilian affairs". The first Prime Minister of Siam was Phraya Manopakorn Nititada, a judge. The title of the office was changed from "Prime Minister "of Siam"" to "Prime Minister "of Thailand"" in 1945 and then permanently with the renaming of Siam to Thailand in 1949. For most of its existence the office has been occupied by Army leaders;
2014 Thai coup d'état 2014. On 7 May 2014, the Constitutional Court unanimously removed Yingluck and nine other senior ministers from office over the controversial transfer of a top security officer in 2011. The remaining ministers selected Deputy Prime Minister and Minister of Commerce Niwatthamrong Boonsongpaisan to replace Yingluck as caretaker prime minister as protests continued. The RTA intervened on 20 May 2014, when its commander, General Prayut, exercised the power under the act promulgated by King Vajiravudh (Rama VI) entitled "Martial Law, BE 2457 (1914)", to impose martial law nationwide from 03:00. He said through a television pool that the imposition of martial