Carlos Manuel de Céspedes del Castillo (18 April 1819, Bayamo, Spanish Cuba – 27 February 1874, San Lorenzo, Spanish Cuba) was a Cuban revolutionary hero and First President of Cuba in Arms in 1868. Cespedes, who was a plantation owner in Cuba, freed his slaves and made the declaration of Cuban independence in 1868 which started the Ten Years' War (1868–1878). This was the first of three wars of independence, the third of which, the Cuban War of Independence led to the end of Spanish rule in 1898 and Cuba's independence in 1902. Because of his actions which led to the eventual independence of Cuba, he is known there as the "Father of the Fatherland". Ten Years' War Céspedes was a landowner and lawyer in eastern Cuba, near Bayamo, who purchased La Demajagua, an estate with a sugar plantation, in 1844 after returning from Spain. On 10 October 1868, he made the Grito de Yara (Cry of Yara), declaring Cuban independence, which began the Ten Years' War. That morning, after sounding the slave bell, which indicated to his slaves it was time for work, they stood before him waiting for orders, and Céspedes announced that they were all free men and were invited to join him and his fellow conspirators in war against the Spanish government of Cuba. He is called Padre de la Patria (Father of the Country). In April 1869, he was chosen as President of the Republic of Cuba in Arms. The Ten Years' War was the first serious attempt to achieve independence from Spain and to free all slaves. The war was fought between two groups. In eastern Cuba the tobacco planters and farmers, joined by mulattos and some slaves, fought against western Cuba, with its sugarcane plantations, which required many slaves, and the forces of the Spanish governor-general. Hugh Thomas summarized that the war was a conflict between criollos (creoles, born in Cuba) and peninsulares (recent immigrants from Spain). The Spanish forces and the peninsulares, backed by rich Spanish merchants, were at first on the defensive, but in the longer run, their greater resources held. Céspedes was deposed in 1873 in a leadership coup. Spanish troops killed him in February 1874 in a mountain refuge, as the new Cuban government would not let him go into exile and denied him an escort. The war ended in 1878 with the Pact of Zanjón, which made concessions: