At the end of 1813, the Argentine patriotic army under the command of San Martin was frustrated in the battle with the Spanish colonial army and suffered serious losses. This made him realize that to consolidate the independence of Argentina, it is necessary to completely defeat the Spanish colonial forces in Latin America, especially to completely destroy its military fortress in Peru. For this reason, from 1814 to 1817, the San MartÃn organization compiled a team of brave and capable fighters. The "Andean Army" and commanded it to fly over the Andean natural dangers, liberating Chile in 1818.
The liberation of Chile further consolidated Argentina's independence and cleared the final obstacle to entering Peru.
In 1820, after two years of careful preparation, Saint Martin established the first fleet of an independent Latin American country.
On the morning of August 20, 1820, San Martin led his army from Chile and landed in Scott, south of Lima, on September 8. Upon landing, Saint Martin announced the liberation of slaves, carried out extensive propaganda and agitation, called on the people to arm, and at the same time stepped up the crusade against the enemy's remote and weak areas to isolate Lima.
These policies and strategies have been very successful, and people everywhere have responded and supported the patriotic army. After an arduous struggle, San Martin finally defeated the dominant Spanish colonial army, and its remnant forces were driven to the mountains, and later wiped out by the army of another outstanding general in South America, the "Liberator" Bolivar.
On July 9, 1821, Saint Martin led his troops into Lima, the capital of Peru. On July 28, Peru declared independence and Saint Martin was elected president.
Shortly after accepting the title of "Protector of the Country", General Saint Martin handed over the command to Bolivar, and in 1822 quietly retired with his daughter, and spent the rest of his life in Europe.