PLSubscribe
Detail of a printed battle plan in color: contour lines and spot heights cover hilly ground, a stream runs down a dotted valley at the left beside the road, blue bars mark the patriot battalions No. 7 and No. 8, a blue cavalry block and the position of O'Higgins at the top, and red bars below mark the royalist battalions Chiloé and Talavera, with Maroto's position, carabineers and a company of chasseurs on the hill of Guanaco at the right

Battle of Chacabuco, 1817: San Martín crosses the Andes and frees Santiago

Spanish American wars of independence · 12 February 1817 · Army of the Andes vs Spanish royalists · ~6 min read · Updated November 2026

Next anniversary: 12 February 2027, the 210th anniversary 12 February in history ›

The fire fight and first charge at Chacabuco: Alberto Lara E., La batalla de Chacabuco: relación histórica y estudio crítico militar (Los Ángeles, Chile, 1917), plan 2, detail, printed by the Chilean General Staff. Public domain, University of Connecticut Libraries via Internet Archive

At a glance

In this battle of 1817, the United Provinces of the Río de la Plata and the Chilean patriots defeated the Kingdom of Spain.

Date
12 February 1817
Location
Foot of the hills of Chacabuco, near the Chacabuco estate, north of Santiago, Chile
War
Chilean War of Independence, part of the Spanish American wars of independence
United Provinces of the Río de la Plata and Chilean patriotsArmy of the Andes under Gen José de San Martín, divisions under Bernardo O'Higgins and Miguel Estanislao Soler, mounted grenadiers under José Matías ZapiolaVictory
Kingdom of SpainRoyal army of Chile under Brigadier Rafael Maroto, for Captain General Francisco Casimiro Marcó del PontDefeat
Commanders
Patriots: San Martín, O'Higgins, Soler. Royalists: Maroto

By the numbers

Army of the Andes
Side
Royal army
Strength
United Provinces of the Río de la Plata and Chilean patriots: about 3,500
in two divisions
Kingdom of Spain: about 1,650
with 2 guns (Barros Arana). 2,000 with 5 guns (Mitre)
Losses
United Provinces of the Río de la Plata and Chilean patriots: 12
killed, 120 wounded (Mitre). Over 150 killed and wounded (Barros Arana)
Kingdom of Spain: 500 to 600
killed. More than 600 prisoners, 32 of them officers. All guns lost
Balance of forces
United Provinces of the Río de la Plata and Chilean patriots: about 3,500
Kingdom of Spain: about 1,650 to 2,000

Patriot strength from the two divisions given by Mitre and Barros Arana. Royalist strength from the same two historians.

Mitre, Barros Arana and Miller differ. Ranges show the spread. Barros Arana calls every figure for the royalist dead conjectural.

Outcome
Patriot victory. Santiago occupied on 14 February and O'Higgins named Supreme Director
Quick answer

What happened at the Battle of Chacabuco?

On 12 February 1817, a few days after crossing the Andes from Mendoza, José de San Martín's Army of the Andes attacked the royalist force of Brigadier Rafael Maroto at the foot of the Chacabuco hills, north of Santiago de Chile. Bernardo O'Higgins pinned the royalists in front while Miguel Estanislao Soler came down on their flank, and by early afternoon the royal army was broken. Two days later the patriots entered Santiago.1

Who won the Battle of Chacabuco and why?

San Martín's Army of the Andes won because it came out of the mountains before the royalists could gather their scattered forces and struck the first of them at Chacabuco while the rest were still on the march. Outnumbering the royal force about two to one, the patriots turned a hard frontal fight into a rout when Soler's division reached the royalist flank.2

Dark locator map of central Chile and western Argentina with a gold star in a glowing circle marking the battlefield a little inland from the Pacific coast, rivers running east of the Andes, and a small world map inset with South America boxed
The battlefield of Chacabuco (star) in the central valley of Chile, north of Santiago. The Army of the Andes came over the mountains from Mendoza, on the eastern side of the range. Location map: © Echoes of Battle (data: Natural Earth, public domain)

Background: Chile under the reconquest

In October 1814 a royalist army from Peru had beaten the Chilean patriots at Rancagua, and many of their leaders, Bernardo O'Higgins among them, had fled over the Andes to the province of Cuyo, on the Argentine side of the range. Chile was ruled from then on by royal governors, from 1815 by the captain general Francisco Casimiro Marcó del Pont.3

The rule of the reconquest was harsh. Miller describes arrests, executions and a massacre of prisoners in the jail of Santiago, and both he and Mitre tell how the guerrilla leader Manuel Rodríguez kept the countryside in arms, forcing Marcó to spread his troops thinly across Chile.4

In Mendoza, the capital of Cuyo, the governor José de San Martín spent two years building an army to cross the mountains. His plan, drawn up in 1816, was to cross by two passes, unite on the far side, beat the main royal force and seize the capital.5

The crossing of the Andes

The army set out from Mendoza in January 1817. The main body under Soler and O'Higgins took the long northern pass of Los Patos, while Juan Gregorio de Las Heras went by Uspallata, the only road fit for the heavy guns, with the artillery train following him. Smaller columns crossed far to the north, toward Coquimbo, and to the south, by the Planchón pass, to draw the royalists away.6

The troops rode mules in single file along narrow paths, with freezing nights at high altitude. Small royalist outposts were driven in, and on 7 February Mariano Necochea, by feigning retreat, drew a royalist cavalry column up the valley of Putaendo and then broke it with a charge. Miller dates this skirmish to the 8th.7

By 8 February both divisions were in the valley of Aconcagua, and on the 10th the whole army was gathered at the foot of the hills of Chacabuco, the range that separates that valley from the plain leading to Santiago.8

Black and white lithograph portrait of a man with dark swept hair and long side whiskers, wearing a dark high-collared uniform coat with heavy embroidery and fringed epaulettes, with the name San Martin printed below
José de San Martín, commander of the Army of the Andes, in the lithograph published in Miller's memoirs in 1828. From John Miller, Memoirs of General Miller, vol. 1, 2nd ed. (London: Longman, 1829), plate. Public domain, via Internet Archive

San Martín decides not to wait

San Martín had meant to wait for the rest of his artillery and fresh horses, expected on the 14th. On 11 February a scout came back from Santiago with news that the royalists were hurrying troops north from the south of Chile, and that within two days they could put more than 3,000 men on the hills. San Martín held a council of war and decided to attack at once, before the enemy could gather.9

Marcó had given command of the troops at Chacabuco to Brigadier Rafael Maroto, colonel of the Talavera regiment, who reached the farmhouse at the foot of the hills only on the evening of the 11th. Barros Arana, who studied the returns, puts the royalist force there at 1,400 infantry, about 250 horse and two guns. Mitre gives 1,500 infantry, 500 cavalry and five guns.10

The plan was to cross the range by two roads at once. O'Higgins, with about 1,400 to 1,500 men, was to take the short, steep old road over the summit and engage the royalists in front without pressing home an attack. Soler, with about 2,000 men and seven guns, was to take the longer road to the west and come down on the royalist left flank and rear.11

The battle on 12 February

The army formed at midnight and moved off at two in the morning, leaving its knapsacks behind. Mitre writes of a bright moon. Barros Arana points out that the moon was waning and gave only a faint light. O'Higgins's men drove the royalist outpost off the summit, and Maroto, who had hoped to hold the heights himself, halted his main body on the road below.12

Maroto drew up his line across the mouth of the valley, with his left on steep hills and his right behind a ravine cut by a stream, and placed his two guns to sweep the road. It was a strong position against an attack from the front, but a weak one against a column coming over the hills on its left.13

Tall printed contour map of hilly ground titled La batalla de Chacabuco, Avance jeneral i decision, Plano No. 1, with named hills, a road and a stream running down the valley, red and blue lines and arrows marking the routes of the troops toward the plain at the bottom, and a legend for royalists and patriots below
The hills of Chacabuco on a staff map printed in 1917: the routes of the two patriot divisions over the range, the general advance and the decision on the plain below. Alberto Lara E., La batalla de Chacabuco: relación histórica y estudio crítico militar (Los Ángeles, Chile, 1917), plan 1. Public domain, University of Connecticut Libraries via Internet Archive

O'Higgins came down into the valley in the late morning and for some time exchanged fire with the royal line, and since Soler had still not appeared, he then ordered battalions No. 7 and No. 8 to charge. In Mitre's account he forgot San Martín's order to wait for Soler. Barros Arana presents the attack as a bold decision taken with the support of his officers in the heat of a stifling day.14

The charge failed: the infantry was held up crossing the ravine under fire, the cavalry could not get round the royalist left, and the battalions fell back with heavy losses.15

San Martín, watching from the heights, sent orders to hurry Soler and rode down to the fighting. O'Higgins attacked again, this time with the mounted grenadiers charging the royalist line, and the battalions broke into it with the bayonet. Many of the soldiers of No. 7 and No. 8 were Black men freed from slavery in Cuyo, and Mitre writes that most of the patriot dead buried on the field were former slaves.16

At that moment the head of Soler's division appeared on the hills to the royalist left. Its chasseurs drove off the detachment holding the slope, and grenadiers under Necochea and Escalada fell on the royalists from the flank and rear. The royal infantry tried to form a square but was broken. Some of the fugitives were cut off at the farmhouse and surrendered, and others were sabred in the valley.17

Printed broadside on yellowed paper headed CUESTA DE CHACABUCO in large capitals, with two columns of small text below and, at the foot, the lines Enemigos del nombre americano! Cesad de derramar sangre inutilmente. Respetad a los heroes de la Cuesta de Chacabuco, and the imprint Imprenta de Niños Expositos
The news reaches Buenos Aires: a broadside printed in February 1817 with the despatch of the governor of Cuyo announcing the victory, ending with the call "Enemies of the American name! Stop shedding blood in vain." Cuesta de Chacabuco, broadside (Buenos Aires: Imprenta de Niños Expósitos, 1817). Public domain, John Carter Brown Library via Internet Archive

Counting the losses

Mitre gives the royalists 500 killed and 600 prisoners, with all their artillery. Barros Arana writes of more than 500 dead and more than 600 prisoners, 32 of them officers, and warns that every figure for the royalist dead is a guess. Miller puts the dead left on the field at 600.18

For the patriots, Mitre gives 12 killed and 120 wounded, while Barros Arana counts more than 150 killed and wounded together, among them two captains killed.19

Aftermath: Santiago and the Supreme Director

Maroto escaped from the field, and Marcó del Pont abandoned the capital and fled toward Valparaíso, where Maroto and part of the royal troops got away by sea, but Marcó himself was taken prisoner. Vicente San Bruno, the officer blamed for the killing of prisoners in the jail of Santiago, was captured at Chacabuco, tried and shot.20

The patriot army entered Santiago on 14 February. An assembly of citizens offered the government of Chile to San Martín, who refused it, and O'Higgins was then chosen Supreme Director of the State.21

The victory did not finish the war. Both Mitre and Miller criticize the slow pursuit: the royalists in the south, led by José Ordóñez, gathered the survivors in the fortified port of Talcahuano and were reinforced from Peru, and the fighting went on until San Martín's victory at Maipú in April 1818.22

Frequently asked questions

When and where was the Battle of Chacabuco fought?

It was fought on 12 February 1817 at the southern foot of the hills of Chacabuco, near the farmhouse of the Chacabuco estate, north of Santiago de Chile, on the road from the valley of Aconcagua to the capital.

Who commanded at Chacabuco?

José de San Martín commanded the Army of the Andes, with Bernardo O'Higgins and Miguel Estanislao Soler leading its two divisions. Brigadier Rafael Maroto commanded the royalist force, under the orders of the captain general of Chile, Francisco Casimiro Marcó del Pont.

How many soldiers fought at Chacabuco?

The two patriot divisions together had about 3,500 men. The royalists on the field had about 1,650 men by Barros Arana's count, or about 2,000 by Mitre's, with two to five guns.

How many died at the Battle of Chacabuco?

The royalists lost about 500 to 600 killed and more than 600 prisoners. Mitre gives the patriots 12 killed and 120 wounded, while Barros Arana counts more than 150 killed and wounded.

Why was the Battle of Chacabuco important?

It opened the road to Santiago, ended the royalist reconquest of central Chile and brought Bernardo O'Higgins to power as Supreme Director. Royalist forces held out in the south, and the war in Chile was decided only at Maipú in 1818.

Notes

A number in the text points to a note naming the works that paragraph draws on, which are listed in full under Sources.

  1. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  2. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  3. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  4. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. ↩
  5. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  6. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  7. Bartolomé Mitre, The Emancipation of South America. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. ↩
  8. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  9. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  10. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  11. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  12. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  13. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Diego Barros Arana, Historia jeneral de Chile. ↩
  14. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  15. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  16. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  17. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  18. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. ↩
  19. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  20. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  21. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. Diego Barros Arana, Historia jeneral de Chile. ↩
  22. John Miller, Memoirs of General Miller, in the Service of the Republic of Peru. Bartolomé Mitre, The Emancipation of South America. ↩

Sources

Battles that changed the world

The turning points of history

Marathon, Gaugamela, Cannae, Constantinople, Waterloo, Stalingrad: the days the world changed course.

The same choice for every reader · why? ·

Bring the Army of the Andes over the mountains

Echoes of Battle brings the great battles of history to life, narrated on the real map. Subscribe below for new battle stories, and we will send word to your inbox the day it launches.