# data[].attributes.headline
Enrolled in the Spanish army to fight against the French

# data[].attributes.subject
Enrolled in the Spanish army to fight against the French

# data[].attributes.body
1808

# data[].attributes.headline
Contacted supporters of independence to Spain

# data[].attributes.subject
Contacted supporters of independence to Spain

# data[].attributes.body
1808

# data[].attributes.headline
Fought in the Argentine war of Independence

# data[].attributes.subject
Fought in the Argentine war of Independence

# data[].attributes.body
1814

# data[].attributes.headline
Went to Chile and prevailed over Spanish forces

# data[].attributes.subject
Went to Chile and prevailed over Spanish forces

# data[].attributes.headline
Defeated the last large Spanish force on Chilean soil at the battle of Maipu

# data[].attributes.subject
Defeated the last large Spanish force on Chilean soil at the battle of Maipu

# data[].attributes.body
1818

# data[].attributes.body
1818

# data[].attributes.headline
San Martín was appointed Protector of Peru, and Peruvian independence was officially declared 

# data[].attributes.subject
San Martín was appointed Protector of Peru, and Peruvian independence was officially declared 

# data[].attributes.body
1821

# data[].attributes.headline
Left South America and retired from the military

# data[].attributes.subject
Left South America and retired from the military

# data[].attributes.body
1824