The Philippine Declaration of Independence occurred on June 12, 1898 in Cavite II el Viejo (now Kawit), Cavite, Philippines. With the public reading of the Act of the Declaration of Independence, Filipino revolutionary forces under General Emilio Aguinaldo proclaimed the sovereignty and independence of the Philippine Islands from the colonial rule of Spain, which had been recently defeated at the Battle of Manila Bay during the Spanish-American War.
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.