The Spanish–American War began on April 25, 1898, due to a series of escalating disputes between the two nations, and ended on December 10, 1898, with the signing of the Treaty of Paris. It resulted in Spain's loss of its control over the remains of its overseas empire. After much of mainland Latin America had achieved independence, Cuba tried its hand at revolution in 1868–1878, and again in the 1890s, led by José Martí, or "El Apóstol." Martí returned to Cuba and participated at first in the struggles against the Spanish government, but was killed on May 19, 1895. The Philippines at this time also became resistant to Spanish colonial rule. August 26, 1896 presented the first call to revolt, led by Andrés Bonifacio, succeeded by Emilio Aguinaldo y Famy, who had his predecessor arrested. Bonifacio was executed on May 10, 1897. Aguinaldo then negotiated the Pact of Biak-na-Bato with the Spaniards and was exiled to Hong Kong along with the other revolutionary leaders.