Puerto Ricans such as Augusto Rodríguez, who resided in the United States in the mid-19th century, fought in the American Civil War. They also fought against the Spanish Empire. They fought for Mexico's independence and in the Latin American wars of independence alongside Simón Bolívar. In Puerto Rico they revolted against Spanish rule and fought for Puerto Rico's independence in the "Grito de Lares" and in the "Intentona de Yauco". They also fought for Cuba's independence in the Ten Years' War alongside General Máximo Gómez and as members of the Cuban Liberation Army alongside José Martí. At the end of the 19th century, Puerto Ricans fought alongside their Spanish counterparts in the Spanish–American War against the United States in the Battle of San Juan Hill; in Cuba as members of the 1st, 2nd and 3rd Puerto Rican Provisional Battalions; and in Puerto Rico when the American military forces invaded the island, in what is known as the Puerto Rican Campaign. They also fought against the "Tagalos" during the Philippine Revolution.