Philippine Declaration of Independence
Following the end of World War II, the United States granted independence to the Philippines on 4 July 1946 via the Treaty of Manila. July 4 was observed in the Philippines as "Independence Day" until August 4, 1964 when, upon the advice of historians and the urging of nationalists, President Diosdado Macapagal signed into law Republic Act No. 4166 designating June 12 as the country's "Independence Day". June 12 had previously been observed as "Flag Day" and many government buildings are urged to display the Philippine Flag in their offices.
Commonwealth of the Philippines
This led to the creation and passing of a new bill known as Tydings–McDuffie Act, or Philippine Independence Act, which allowed the establishment of the Commonwealth of the Philippines with a ten-year period of peaceful transition to full independence – the date of which was to be on the 4th July following the tenth anniversary of the establishment of the Commonwealth.