PLSubscribe
Black and white town plan titled Quito, from a plan by J. B. Menten, 1875: the grid of city blocks with churches and public buildings in black, ravines crossing the town, the words "Lower slopes of Pichincha" along the western edge, the hill of the Panecillo at the bottom, and a numbered list of references on the left page

Battle of Pichincha, 1822: Sucre frees Quito

Spanish American wars of independence · 24 May 1822 · Colombia and Peru vs Spain · ~6 min read · Updated November 2026

Next anniversary: 24 May 2027, the 205th anniversary 24 May in history ›

Quito, from a plan by J. B. Menten (1875), in Edward Whymper, “Travels amongst the Great Andes of the Equator” (London: John Murray, 1892), public domain, via Internet Archive

At a glance

In this battle of 1822, Gran Colombia and Peru defeated the Kingdom of Spain.

Date
24 May 1822, capitulation of Quito on 25 May
Location
Slopes of the volcano Pichincha above Quito, today Ecuador
War
Spanish American wars of independence
Gran Colombia and PeruGen. Antonio José de Sucre, Col. Andrés de Santa Cruz (Peruvian division), Col. José María CórdovaVictory
Kingdom of SpainCaptain General Melchor Aymerich, Col. Nicolás López in the fieldDefeat
Commanders
Patriots: Sucre, Santa Cruz, Córdova. Royalists: Aymerich, López

By the numbers

Strength
Gran Colombia and Peru:
more than 2,500 (Restrepo) to about 3,000 (Cevallos)
Kingdom of Spain:
about 2,000 (Mitre, Cevallos)
Losses
Gran Colombia and Peru: 200
dead and 140 wounded (Sucre's report, followed by Mitre)
Kingdom of Spain: 400
dead and 190 wounded (Sucre's report). 1,100 men, 160 officers, 14 guns and 1,700 muskets surrendered (Sucre, Torrente, Mitre)

All loss figures go back to Sucre's report. No independent count appears in the works used here. Torrente wrote from the royalist side.

Outcome
Patriot victory. Quito capitulated and Spanish rule in Ecuador ended
Quick answer

What happened at the Battle of Pichincha?

On 24 May 1822 the patriot army of General Antonio José de Sucre, Colombian troops with a Peruvian and Argentine division, defeated the Spanish royalist army on the slopes of the volcano Pichincha above Quito. The next day the royalist commander Melchor Aymerich capitulated, handing over Quito and its fort, and Spanish rule over the land that became Ecuador came to an end.1

The Battle of Pichincha, fought on 24 May 1822 on the slopes of the volcano that rises above Quito, ended Spanish rule over the old Kingdom of Quito, the land that became Ecuador. Antonio José de Sucre won it with Colombian battalions and a division sent from Peru, and the royalist army surrendered the city the next day.2

Who won the Battle of Pichincha and why?

Sucre's patriot army won because a night march up the slopes of Pichincha had placed it above Quito, between the city and the road to Pasto. The royalists, attacking uphill and tired by the climb, were beaten on narrow, wooded ground, and their commander capitulated the next day.3

Dark locator map of northwestern South America with the Pacific coast on the left and a gold star in a glowing circle marking the slopes of Pichincha above Quito, and a small world map inset with the area boxed
The battle was fought on the slopes of the volcano Pichincha (star), which rises directly above Quito, almost on the equator. Location map: © Echoes of Battle (data: Natural Earth, public domain)

Two armies against Quito

In 1822 Quito was one of the last strongholds of Spanish rule in northern South America. While Simón Bolívar fought his way toward it from the north through the hostile country of Pasto, Sucre advanced from Guayaquil in the south. In February 1822 a division sent by José de San Martín from Peru, under Colonel Andrés de Santa Cruz and including a squadron of Argentine mounted grenadiers, joined him, and the combined force took Cuenca without a fight.4

The alliance nearly broke at the start. Santa Cruz received an order from the Peruvian government to take his division back south. Sucre refused to let it go and told Santa Cruz he was ready to use force to stop it, and the matter was settled when a counter-order arrived revoking the recall.5

On the royalist side, the captain general Juan de la Cruz Mourgeon died in April 1822 and Melchor Aymerich took over the command. Mitre and Cevallos put the royalist army that defended Quito at about 2,000 men. Restrepo gives Sucre more than 2,500, Cevallos about 3,000.6

Riobamba and the march round Cotopaxi

On 21 April, near Riobamba, the patriot cavalry, the Argentine grenadiers under Juan Lavalle and the Colombian dragoons, charged the whole royalist cavalry and routed it. The royalists fell back north and took up strong positions near Machachi, covering the narrow passes of Jalupana and La Viudita on the road to Quito.7

Sucre did not attack them there. He marched round their left flank over the cold slopes of Cotopaxi and came down into the valley of Chillo, a few leagues from Quito, on 16 or 17 May. The royalists saw the danger and fell back into the city that night.8

The patriots then crossed the ridge of Puengasí and on 21 May offered battle on the plain of Turubamba, south of the city. The royalists kept to their positions and would not come out, and for several days Sucre maneuvered in front of them without result.9

Detail of an old route map on stained paper: Quito in the middle with the peak of Pichincha to its west and the Puengasí ridge to its east, the road running south past Tambillo and Machachi between Corazón, Rumiñahui and Illiniza, the volcano Cotopaxi to the southeast and Latacunga at the bottom, with Ibarra and Otavalo to the north
The country of the campaign. Sucre avoided the royalist positions on the road near Machachi by marching round past Cotopaxi into the valley east of the Puengasí ridge, then climbed the slopes of Pichincha to get north of Quito. Detail of the route map in Edward Whymper, “Travels amongst the Great Andes of the Equator” (London: John Murray, 1892), turned so that north is at the top, public domain, via Internet Archive

The night march up Pichincha

Sucre then decided to move his army to the open ground north of Quito, where it would stand between the city and Pasto, from which the royalists expected reinforcements. On the night of 23 May his columns climbed the slopes of Pichincha by a rough path on which they could only march in single file, and at eight in the morning of 24 May the leading troops stood on the heights above the city, with the ammunition train far behind under the battalion Albion.10

The battle on the slopes

The royalists, seeing the patriots above them, climbed the slope to attack before Sucre's whole army had come up, and arrived worn out by the climb. The fighting began at about half past nine.11

The ground was too narrow for more than one battalion at a time. The light company of Paya and the Peruvian battalion Trujillo took the first shock and fought until their cartridges were spent. The companies sent in to relieve them ran short in turn, because the ammunition had been left behind, and the royalists gained ground.12

A bayonet charge by the battalion Paya won the ground back. Three royalist companies of the regiment of Aragón worked round the patriot left through the woods and had almost reached the crest when three companies of Albion, coming up with the ammunition, struck them and routed them. Colonel José María Córdova then charged with two companies of the Magdalena battalion and broke the royalist line, and by noon the battle was won.13

The beaten royalist infantry fled down into Quito and took refuge in the fort on the hill of the Panecillo. Their cavalry, which had watched the battle from the outskirts and was Aymerich's reserve for a retreat to Pasto, rode off north instead, and the patriot cavalry under Cestari, already placed between Quito and Pasto, pursued and scattered it.14

First page of a printed pamphlet on yellowed paper, headed Acta solemne con que el Departamento de Quito se incorporó a la República de Colombia, with a handwritten note and the number 197 at the top and dense text in Spanish below
The act by which Quito joined the Republic of Colombia, printed in Guayaquil in 1822. Its text speaks of the memorable battle of the 24th on the slopes of Pichincha. Acta solemne con que el Departamento de Quito se incorporó á la República de Colombia (Guayaquil, 1822), John Carter Brown Library, public domain, via Internet Archive

The capitulation of Quito

Sucre sent his aide-de-camp Daniel Florencio O'Leary to demand the surrender, and Aymerich agreed to capitulate. The terms were signed and ratified on 25 May: the city, the fort of the Panecillo and all the royalist forces in the territory of Quito were handed over.15

In his report Sucre listed 1,100 men and 160 officers taken under the capitulation, with 14 guns and 1,700 muskets. Torrente and Mitre give the same figures. A few royalist officers, among them the colonels José Santa Cruz and Manuel Vizcarra, refused to surrender and escaped through the jungles of the Marañón to Brazil and from there to Spain.16

Losses at Pichincha

Sucre's own report counted 400 royalist dead and 190 wounded, against 200 patriot dead and 140 wounded. Mitre follows these figures and notes that some historians give the patriots 300 dead because they took them from Santa Cruz's report, which counted the wounded too. No independent count of the losses appears in the works used here.17

Sucre singled out in his report Lieutenant Abdón Calderón, who received four wounds one after another and would not leave the fight. Cevallos, the historian of Ecuador, repeats the praise.18

After Pichincha

On 29 May an assembly in Quito declared the territory part of the Republic of Colombia. Bolívar, who had fought a costly battle at Bomboná in April on his way south, received the surrender of Pasto in June after the news of Pichincha arrived, and entered the town that had resisted him for years.19

Mitre saw in the battle the first time that the armies of the southern and northern revolutions had fought side by side, and Pichincha opened the way for Colombian troops to go on to Peru, where Sucre would win the Battle of Ayacucho in 1824.20

Frequently asked questions

When was the Battle of Pichincha?

It was fought on the morning of 24 May 1822, from about half past nine until noon. Quito capitulated on 25 May 1822.

Who commanded at Pichincha?

Antonio José de Sucre commanded the patriot army of Colombian troops and the Peruvian division of Andrés de Santa Cruz. The royalist field force was led by Colonel Nicolás López under the captain general Melchor Aymerich.

Why did the royalists attack uphill?

Sucre's night march had put his army on the heights above Quito, between the city and Pasto. The royalists attacked before all his troops had come up, but arrived tired by the steep climb and were beaten on narrow ground.

How many died at Pichincha?

Sucre's report, which Mitre follows, counted 400 royalist dead and 190 wounded against 200 patriot dead and 140 wounded. No independent count appears in the works used here.

What did the Battle of Pichincha achieve?

Quito and its fort were handed over on 25 May 1822, ending Spanish rule over the land that became Ecuador, and on 29 May Quito was declared part of the Republic of Colombia.

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. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. Mariano Torrente, Historia de la revolución hispano-americana. ↩
  2. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. Mariano Torrente, Historia de la revolución hispano-americana. ↩
  3. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. ↩
  4. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. ↩
  5. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  6. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. Mariano Torrente, Historia de la revolución hispano-americana. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. ↩
  7. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. ↩
  8. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  9. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. ↩
  10. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. ↩
  11. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  12. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. ↩
  13. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. ↩
  14. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Mariano Torrente, Historia de la revolución hispano-americana. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  15. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  16. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Mariano Torrente, Historia de la revolución hispano-americana. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. José Manuel Restrepo, Historia de la revolución de la República de Colombia en la América meridional. ↩
  17. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  18. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. ↩
  19. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. Pedro Fermín Cevallos, Resumen de la historia del Ecuador desde su origen hasta 1845. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. ↩
  20. Bartolomé Mitre, Historia de San Martín y de la emancipación sud-americana. Daniel Florencio O'Leary, Bolívar y la emancipación de Sur-América. ↩

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? ·

Command the wars of independence

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.