Emilio Aguinaldo was the first president of the Philippine Republic during the Spanish colonial period. He was born in 1869 in Cavite to a wealthy Chinese-Filipino family. He joined the secret Katipunan society in 1895 which started an armed revolution against Spanish rule in 1896. Aguinaldo defeated the Spanish forces in Cavite and established a revolutionary government. He declared Philippine independence from Spain on June 12, 1898. After the U.S. took control of the Philippines, Aguinaldo led resistance forces against U.S. occupation until his capture in 1901. He died in 1964 at age 94 as the last surviving head of state from the 19th century.