The Philippine Republic, retroactively known as the First Philippine Republic or the Malolos Republic, was an unrecognized state established in Malolos, Bulacan, during the Philippine Revolution against the Spanish Empire (1896–1898) through the promulgation of the Malolos Constitution on January 23, 1899, succeeding the Revolutionary Government of the Philippines. Emilio Aguinaldo was its inaugural president. It was not recognized by any foreign power, but remained a de facto government.
Following the American victory at the Battle of Manila Bay, Aguinaldo returned to the Philippines, issued the Philippine Declaration of Independence on June 12, 1898, and proclaimed successive revolutionary Philippine governments on June 18 and 23 of that year, under which regimes the liberation of Philippine territory from Spain was conducted.