In 1935, the United States, pursuant to its promise of full Philippine sovereignty, established the Commonwealth of the Philippines following the ratification of the 1935 Constitution, which also restored the presidency. The first national presidential election was held, and Manuel L. Quezon (1935–44) was elected to a six-year term, with no provision for re-election, as the second Philippine president and the first Commonwealth president. In 1940, however, the Constitution was amended to allow re-election but shortened the term to four years. A change in government occurred three years later when the Second Philippine Republic was organized with the enactment of the 1943 Constitution, which Japan imposed after it occupied the Philippines in 1942 during World WarII. José P. Laurel acted as puppet president of the new Japanese-sponsored government; his "de facto" presidency, not legally recognized until the 1960s, overlapped with that of the president of the Commonwealth, which went into exile. The Second Republic was dissolved after Japan surrendered to the Allies in 1945; the Commonwealth was restored in the Philippines in the same year with Sergio Osmeña (1944–46) as president.