The Philippine Revolution, called the Tagalog War by the Spanish, was a revolution and subsequent conflict fought between the people and insurgents of the Philippines and the Spanish colonial authorities of the Spanish East Indies, under the Spanish Empire.
The Philippine Revolution began in August 1896, when the Spanish authorities discovered the Katipunan, an anti-colonial secret organization. The Katipunan, led by Andrés Bonifacio, began to influence much of the Philippines. During a mass gathering in Caloocan, the leaders of the Katipunan organized into a revolutionary government, named the newly established government "Haring Bayang Katagalugan", and openly declared a nationwide armed revolution. Bonifacio called for an attack on the capital city of Manila. This attack failed; however, the surrounding provinces began to revolt. In particular, rebels in Cavite led by Mariano Álvarez and Baldomero Aguinaldo won early major victories. A power struggle among the revolutionaries led to a schism among Katipunan leadership followed by Bonifacio's execution in 1897. With command having shifted to Emilio Aguinaldo, who led the newly formed revolutionary government.