who was named protector of peru after liberating the country from spanish rule
José de San Martín José Francisco de San Martín y Matorras (25 February 1778 – 17 August 1850), known simply as José de San Martín (Spanish: [xoˈse ðe san marˈtin]) or El Libertador of Argentina, Chile and Peru,[1] was an Argentine general and the prime leader of the southern part of South America's successful struggle for independence from the Spanish Empire who served as the Protector of Peru. Born in Yapeyú, Corrientes, in modern-day Argentina, he left his mother country at the early age of seven to study in Málaga, Spain.
Latin America Fighting soon broke out between juntas and the Spanish colonial authorities, with initial victories for the advocates of independence. Eventually these early movements were crushed by the royalist troops by 1810, including those of Miguel Hidalgo y Costilla in Mexico in the year 1810. Later on Francisco de Miranda in Venezuela by 1812. Under the leadership of a new generation of leaders, such as Simón Bolívar "The Liberator", José de San Martín of Argentina, and other Libertadores in South America, the independence movement regained strength, and by 1825, all Spanish America, except for Puerto Rico and Cuba, had gained independence from Spain. In the same year in Mexico, a military officer, Agustín de Iturbide, led a coalition of conservatives and liberals who created a constitutional monarchy, with Iturbide as emperor. This First Mexican Empire was short-lived, and was followed by the creation of a republic in 1823.