Born in Tennessee in 1824, William Walker was something of a child prodigy. By the age of 14 he had a degree from the University of Nashville, notching up further degrees in law and medicine just five years later before setting off to study at various illustrious European universities. However, upon his return to the US, Walker failed in his chosen professions of doctor and lawyer and, somewhat at a loose end, landed up in California in 1849 at the height of the Gold Rush. Here he became involved with the pro-slavery organization Knights of the Golden Circle, who financed an expedition, in which Walker took part, to invade Baja California and Mexico to secure more land for the United States. Undeterred by the expedition’s failure, Walker soon put his mind to another plan. Intending to make himself overlord of a Central American nation of five slave-owning states, and then to sell the territory to the US, Walker invaded Nicaragua in June 1855 with mercenary troops. The next logical step was to secure territory for the planned eleven-kilometre canal between Lago de Nicaragua and the Pacific. Gaining much of his financial backing from Nicaraguan get-rich-quick militarists and North American capitalists who promptly saw the benefits of a waterway along the Río San Juan from the Pacific to the Atlantic, in 1856 William Walker, and several hundred mercenary troops, invaded Costa Rica from the north.

Meanwhile, Costa Rican president Juan Rafael Mora had been watching Walker’s progress with increasing alarm and, in February 1856, declared war on the usurper. Lacking military hardware, Costa Rica was ill-prepared for battle, and Mora’s rapidly gathered army of nine thousand men was a largely peasant-and-bourgeois band, armed with machetes, farm tools and the occasional rusty rifle. Marching them out of San José through the Valle Central, over the Cordillera de Tilarán and on to the hot plains of Guanacaste, Mora got wind that Walker and his band of three hundred buccaneers were entrenched at the Santa Rosa Casona, the largest and best-fortified edifice in the area. Although by now Mora’s force was reduced to only 2500 (we can only guess that, in the two weeks that it took them to march from San José, heat exhaustion had left many scattered by the wayside), on March 20, 1856 they routed the filibusters, fighting with their campesino tools. Mora then followed Walker and his men on their retreat, engaging them in battle again in Nicaraguan territory, at Rivas, some 15km north of the border, where Walker’s troops eventually barricaded themselves in another wooden casona. It was here – and not, as is commonly thought, at Santa Rosa – that Juan Santamaría, a nineteen-year-old drummer boy, volunteered to set fire to the building in which Walker and his men were barricaded, flushing them out, and dying in the process. Walker, however, survived the fire, and carried on filibustering, until in 1857 a US warship was dispatched to put an end to his antics which were increasingly embarrassing for the US government, who had covertly backed him. Undeterred after a three-year spell in a Nicaraguan jail, he continued his adventuring until he was shot dead by the Honduran authorities in September 1860.

Later, Mora, no devotee of democracy himself, rigged the 1859 Costa Rican presidential election so that he could serve a second term – despite his military victories against Walker, there was strong popular opposition to his domestic policies – but he was deposed later that year. He attempted a coup d’état, but was subsequently shot in 1860, the same year that his former adversary met his Waterloo in Honduras.

Book through Rough Guides’ trusted travel partners

Costa Rica features

The latest articles, galleries, quizzes and videos.

9 tips for travelling in Costa Rica

9 tips for travelling in Costa Rica

Inspired by pictures of Costa Rica’s primordial-looking shores, rainforests brimming with exotic creatures and steaming volcanoes that tower above the clouds?…

03 Oct 2017 • Chloe Cann insert_drive_file Article
14 magical sunrises that prove it's worth getting up early

14 magical sunrises that prove it's worth getting up early

Looking through the Rough Guides photography archive, one kind of shot stands out again and again: pictures captured at sunrise. Sure, there's nothing more temp…

16 Apr 2015 • Eleanor Aldridge insert_drive_file Article
A Rough Guide to spotting wildlife in Costa Rica

A Rough Guide to spotting wildlife in Costa Rica

From world-famous national parks to little-known private reserves, Alex Robinson picks out six of the best places for wildlife-spotting in Costa Rica. Few cou…

19 Jan 2015 • Alex Robinson insert_drive_file Article
View more featureschevron_right

Weekly newsletter

Sign up now for travel inspiration, discounts and competitions

Sign up now and get 20% off any ebook