The Philippine–American War, known alternatively as the Philippine Insurrection, Filipino–American War, or Tagalog Insurgency, was fought between the First Philippine Republic and the United States from February 4, 1899, until July 2, 1902. Tensions arose after the United States annexed the Philippines under the Treaty of Paris at the conclusion of the Spanish–American War rather than acknowledging the Philippines' declaration of independence. The war can be seen as a continuation of the Philippine struggle for independence that began in 1896 with the Philippine Revolution against Spanish rule.