# data[].attributes.body
In 1806, France invaded Spain and San Martin became Adjutant General.

# data[].attributes.body
He served in Spanish navy and fought against the British at age 19. His ship was conquered, although he returned to Spain as a prisoner.

# data[].attributes.body
The reason for San Martin leaving his army for Bolivar is unknown, although it led to the victory of the Ayacucho. Peru gained their independence on December 9th, 1824.

# data[].attributes.body
San Martin decided to take the Spanish army out of Lima, Peru, but needed help. In 1822, San Martin and Simon Bolivar met in Guayaquil, Ecuador to discuss the plans.

# data[].attributes.body
During the battle against the French, led by Napoleon, he served as the sevilla due to the fact that Ferdinand VII, the Spanish King, was imprisoned in 1808

# data[].attributes.body
He received an education from the Seminary of Nobles in Madrid after he moved from Argentina to Spain at age six

# data[].attributes.body
-Argentina in 1812
-Chile in 1818
-Peru in 1821

# data[].attributes.body
February 25th, 1778 in Yapeyu, Argentina

# data[].attributes.body
August 17th, 1850 in Boulogne- sur- Mer, France