American rule was not uncontested. The Philippine Revolution had begun in August 1896 against Spain, and after the defeat of Spain in the Battle of Manila Bay began again in earnest, culminating in the Philippine Declaration of Independence and the establishment of the First Philippine Republic. The Philippine–American War ensued, with extensive damage and death, and ultimately resulting in the defeat of the Philippine Republic.[8][9][10][11]