Defence Services' commander-in-chief. Each of the three committees nominates a presidential candidate. Afterward, all the Pyidaungsu Hluttaw MPs vote for one of three candidates—the candidate with the highest number of votes is elected president, while the other two are elected as vice-presidents. The president serves for a term of 5 years. Should a president resign for any reason or die in office, the Presidential Electoral College will meet and each of the three committees will nominate a candidate to finish out the prior President's term so that the terms of the legislature and presidency are synchronised. The candidate who receives the most votes from the nominees is elected. This process is similar to the one prescribed by the 1947 Constitution, in which MPs from the Parliament's Chamber of Nationalities and Chamber of Deputies elected the president by secret ballot. The President was then responsible for appointing a prime minister (on the advice of the Chamber of Deputies), who was constitutionally recognised as the head of government and led the Cabinet. History Before independence, Myanmar had two quasi-constitutions, The government of Burma Act, 1935 and Constitution of Burma under Japanese occupation, 1943. After independence, Myanmar adopted three constitutions in 1947, 1974 and 2008. The 2008 constitution is the present constitution of Myanmar. Before Independence Prior to 1863, different regions of modern-day Burma were governed separately. From 1862 to 1923, the colonial administration, housed in Rangoon's Secretariat building, was headed by a chief commissioner (1862–1897) or a lieutenant-governor (1897–1923), who headed the administration, underneath the governor-general of India. From 31 January 1862 to 1 May 1897, British Burma was headed by a chief commissioner. The subsequent expansion of British Burma, with the acquisitions of Upper Burma and the Shan States throughout this period increased the demands of the position, and led to an upgrade in the colonial leadership and an expansion of government (Burma was accorded a separate government and legislative council in 1897). Consequently, from 1 May 1897 to 2 January 1923, the province was led by a lieutenant governor. In 1937, Burma was formally separated from British India and began to be administered as a separate British colony, with a fully elected bicameral legislature, consisting of the Senate and House of Representatives. From 2 January 1923 to 4 January 1948, British Burma was led by a Governor, who led the cabinet and was responsible for the colony's defence, foreign relations,