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.
Martial law in the Philippines
On 12 June, at Aguinaldo's ancestral home in Cavite, Philippine independence was proclaimed and The Act of Declaration of Philippine Independence was read. The act had been prepared and written in Spanish by Ambrosio Rianzares Bautista, who also read its proclamation. On 18 June, issued a decree formally establishing his dictatorial government. On 23 June another decree signed by Aguinaldo was issued, replacing the Dictatorial Government with a Revolutionary Government, with himself as President.