January 20
Battle of Yungay Ends Peru-Bolivian Confederation
A decisive Chilean-Peruvian victory on January 20, 1839, shattered the Peru-Bolivian Confederation and restored the separate republics of Peru and Bolivia.
Summary
The Peru-Bolivian Confederation, led by Andrés de Santa Cruz, had united the two nations since 1836, alarming neighboring states over regional power balances. Chile, allied with dissident Peruvian forces, formed the United Restoration Army under General Manuel Bulnes. On January 20, 1839, this combined force of roughly 5,400 men attacked Santa Cruz's Confederate army of about 6,000 near Yungay in northern Peru. After intense fighting lasting several hours, the Restoration Army secured a decisive victory. Santa Cruz fled into exile, and the confederation dissolved immediately afterward.
Context
In the years after independence from Spain, the newly formed states of Peru and Bolivia faced persistent political instability and regional rivalries. Andrés de Santa Cruz, a Bolivian general with experience in the independence wars, rose to power in Bolivia and engineered the creation of the Peru-Bolivian Confederation in 1836. This union combined Bolivia with northern and southern Peruvian states under a single federal structure, aiming to stabilize the region through centralized authority.
Neighboring Chile viewed the confederation with alarm, fearing it would dominate Pacific trade routes and upset the balance of power established after independence. Chile had already intervened in Peruvian affairs during its own struggles, and the confederation’s existence prompted diplomatic tensions and military preparations. Argentina shared similar concerns about a strengthened Andean bloc.
Santa Cruz consolidated control through alliances and administrative reforms, but dissident Peruvian factions opposed the arrangement and sought external support. These divisions set the stage for renewed conflict when Chile organized a coalition to dismantle the confederation.
What Happened
The United Restoration Army, commanded by Chilean General Manuel Bulnes and including roughly 600 Peruvian exiles under Agustín Gamarra, advanced northward after earlier clashes. Bulnes had already defeated Confederate forces at Portada de Guías in August 1838 and secured naval superiority at the Battle of Casma. By early January 1839, his combined force of approximately 5,400 men maneuvered to confront Santa Cruz’s army near Yungay in the Ancash region of northern Peru.
Santa Cruz positioned his roughly 6,000 Confederate troops defensively along the Ancash River, occupying key heights including Punyán Hill and Pan de Azúcar Hill. On January 20, Bulnes launched coordinated assaults on these positions. Restoration troops captured the hills after intense fighting, then crossed the river under artillery cover to engage the main Confederate lines. Santa Cruz attempted to reinforce his flanks and launch counterattacks, but the Restoration forces broke through the Confederate center and flanks in the afternoon.
Santa Cruz and several of his generals fled the field as their army collapsed. The battle lasted several hours and ended with the near destruction of the Confederate force.
Aftermath
The defeat forced Santa Cruz into permanent exile, first in Ecuador and later abroad. The Peru-Bolivian Confederation dissolved immediately, restoring separate national governments in Peru and Bolivia. Agustín Gamarra assumed the presidency of Peru and pursued policies aligned with the restorationist cause, while Bolivia reasserted its independence under new leadership.
Chile received financial compensation from Peru for its military efforts and strengthened its regional influence. Peruvian officers who had served the confederation faced bans from the national army, and the new authorities consolidated power amid lingering factional tensions.
Legacy
The Battle of Yungay ended the only serious attempt at a unified Andean federation in the post-independence era, preserving the distinct national identities and borders of Peru and Bolivia that persist today. It reinforced Chile’s position as a leading Pacific power and contributed to a pattern of interstate rivalries that shaped 19th-century South American diplomacy.
Historians interpret the outcome as a victory for balance-of-power politics over ambitious integration projects. The restored republics continued to experience internal instability, but the confederation’s failure discouraged similar large-scale unions and highlighted the challenges of reconciling regional interests in the Andes.
Why It Matters
The battle restored separate Peruvian and Bolivian states and reaffirmed Chilean influence in the Pacific. It prevented a larger Andean federation that might have altered South American geopolitics. Subsequent Peruvian and Bolivian politics reflected the restored national boundaries and ongoing rivalries.
Related Questions
What was the Peru-Bolivian Confederation?
A short-lived federal union created in 1836 by Andrés de Santa Cruz that combined Bolivia with northern and southern Peru under a single government.
Why did Chile oppose the confederation?
Chile feared the union would dominate Pacific trade and shift the regional balance of power in favor of a stronger Andean state.
Who commanded the opposing armies at Yungay?
Chilean General Manuel Bulnes led the United Restoration Army, while Andrés de Santa Cruz commanded the Confederate forces.
What were the immediate results of the battle?
The Confederate army was destroyed, Santa Cruz went into exile, and the Peru-Bolivian Confederation dissolved, restoring independent Peru and Bolivia.
How did the battle affect Peruvian leadership?
Agustín Gamarra became president of Peru and pursued policies aligned with the restorationist victory.
Related Portfolio Site
US Military Atlas: Battle of Yungay Ends Peru-Bolivian Confederation connects to military history, war consequences, or postwar diplomacy.
Explore More
Related Events
Sources
- Battle of Yungay, Wikipedia. Accessed 2026-07-08.
- Battle of Yungay, Encyclopædia Britannica. Accessed 2026-07-08.