The Battle of Abeokuta 1851 was one of the defining military confrontations of nineteenth-century Yorubaland. On 3 March, a large army from the Kingdom of Dahomey advanced against Abeokuta, the fortified Egba settlement that had grown rapidly since its establishment around 1830.
Dahomey was ruled by King Ghezo, whose kingdom possessed one of the most formidable military systems in the region. Its forces included regular male soldiers and the famous female military corps later widely described in European writings as the Dahomey Amazons. Yet the army that approached Abeokuta in 1851 encountered a city whose inhabitants had spent two decades learning how to survive warfare, displacement and political instability.
The battle was not simply a contest between two armies. It emerged from struggles over regional influence, access to trade routes, slave-raiding, relations with neighbouring communities and increasing British efforts to suppress the Atlantic slave trade.
Its outcome would demonstrate that Abeokuta had become far more than a sanctuary for refugees.
Historical Context: How Abeokuta Became a Fortress
Abeokuta emerged from the upheavals that accompanied the collapse of old political arrangements in Yorubaland following the decline of the Oyo Empire.
Egba communities had been dispersed by warfare and insecurity. Around 1830, groups of Egba refugees consolidated at Abeokuta under the leadership of Shodeke, commonly rendered Sodeke. The rocky landscape around Olumo offered important defensive advantages, while the settlement itself was gradually strengthened with walls, gates and organised townships.
Shodeke encouraged other displaced Egba people to join the settlement. Owu refugees also became part of the developing political community.
The result was a composite city made up of several communities rather than a single old Yoruba town transplanted intact into a new location.
EXPLORE NOW: Military Era & Coups in Nigeria
Shodeke’s role was fundamental to Abeokuta’s early development, but he did not command its forces against Dahomey in 1851. He had died years before the invasion.
By the time Ghezo’s army approached, military authority rested with another generation of Egba leaders.
Why Dahomey Wanted Abeokuta Broken
Dahomey’s hostility towards Abeokuta was connected to more than territorial ambition.
Throughout the first half of the nineteenth century, Dahomean power was closely linked to warfare, captive-taking and the Atlantic slave trade. Military campaigns supplied captives who could be incorporated into Dahomean society or exported through coastal markets.
Abeokuta complicated that system.
Its increasing strength created a powerful obstacle between Dahomey and communities farther east. Its population included refugees from warfare and slave-raiding, while its growing commercial connections offered alternative routes linking the interior to the coast.
The arrival of Christian missionaries and the increasing involvement of British officials added another dimension.
Britain had abolished its slave trade in 1807 and was using naval, diplomatic and economic pressure against the Atlantic trade. By 1850, British Consul John Beecroft was pressing Ghezo to abandon the export of enslaved people.
Ghezo resisted those demands.
Historian John C. Yoder later identified competing political interests inside Dahomey. The powerful group he termed the Elephant Party favoured the continuation of slave exports, resistance to British pressure and aggressive action against Abeokuta. Other interests increasingly saw palm oil and other forms of commerce as alternatives to continued confrontation.
Abeokuta therefore stood at the intersection of military rivalry, commercial competition and the international struggle over the Atlantic slave trade.
That did not mean Egba society itself was uniformly abolitionist. Slaveholding and slave trading also existed among the Egba, and internal political interests differed sharply. The conflict cannot accurately be reduced to an anti-slavery Abeokuta fighting a pro-slavery Dahomey.
The Threat Was Clear Before March 1851
British representatives had already recognised the danger.
Beecroft visited Abeokuta during the period of mounting tension, and Egba chiefs requested assistance in strengthening their fortifications. Missionaries living in Abeokuta were also increasingly aware that Dahomean leaders regarded the expanding settlement as a serious obstacle.
There had been military confrontation between Egba and Dahomean forces before the great assault on Abeokuta.
American Baptist missionary Thomas Jefferson Bowen recorded an earlier encounter in which the Egba defeated forces belonging to Ghezo near a place he rendered as Adu and captured a royal chair. Bowen also referred to a devastating Dahomean attack on Oke-Oddan.
These episodes establish a longer background of hostility, although the precise sequence sometimes attached to them in later retellings is difficult to sustain from contemporary documentation.
What is firmly established is what happened next.
On 3 March 1851, Dahomey attacked Abeokuta.
Battle of Abeokuta 1851: The Defence of the Western Gate
Thomas Jefferson Bowen was in Abeokuta when the invasion occurred and left one of the most important contemporary accounts of the fighting.
Scouts brought news of the advancing Dahomean army early that morning. Bowen estimated that approximately 15,000 armed Egba defenders mobilised from the western part of the town and divided into several formations.
One division moved towards a river crossing. Another crossed under Ogubonna, whom Bowen rendered as Ogunbonna. A third remained nearer the city’s defensive position.
Dahomean numbers are more difficult to establish.
Contemporary estimates spoke of approximately 10,000 male soldiers and 6,000 female soldiers, but nineteenth-century battlefield figures should be treated as estimates rather than precise counts.
What is clear is that the attacking force was large, disciplined and dangerous.
According to Saburi Biobaku’s reconstruction, the Dahomean army had assembled at Abomey, where Ghezo addressed it before it departed under the senior commander Akati, who held the military office of Gaou.
As the invading force passed through Ishaga, local people outwardly submitted while secretly warning Abeokuta of its approach. The Dahomeans were reportedly directed towards a difficult crossing of the Ogun River, where some of their gunpowder became wet or was lost.
The attackers eventually concentrated against the western side of Abeokuta, particularly the Aro Gate.
The defences there had been repaired.
The Dahomean soldiers advanced in disciplined formation and initially placed severe pressure on the defenders. The battle did not begin as an effortless Egba triumph. Some Egba formations were driven back, and parts of the defence came under considerable strain.
Then the resistance stiffened.
EXPLORE: Nigerian Civil War
Shokenu and Ogubonna Lead the Egba Defence
The principal Egba commander associated with the battle was Shokenu, the Seriki.
Biobaku identifies Shokenu as commander-in-chief and credits him with leading an outflanking movement that disrupted the Dahomean assault.
Ogubonna, the Balogun of Ikija, was another major figure. Bowen’s account describes his division being forced back before Ogubonna rallied his fighters and renewed resistance.
Their roles are important because popular retellings have sometimes transferred famous figures from other periods into the battle.
Shodeke was not commanding Abeokuta in 1851. He belonged to the generation that established and consolidated the settlement.
Nor should Landuji Oshodi Tapa, the celebrated Lagos military and political figure associated with Oba Kosoko, be placed in command of the Egba forces. The documented military leadership at Abeokuta centred on men including Shokenu and Ogubonna.
As the fighting intensified, Akati attempted to rally the Dahomean troops. He was killed during the battle.
Without their senior commander and under growing pressure from the Egba counterattack, the invading forces began withdrawing.
The retreat did not immediately end the fighting.
Egba forces pursued the Dahomeans, and another engagement occurred near Ishaga before the invaders continued westwards.
Abeokuta had survived.
Why the Egba Won
No single factor explains the outcome.
Abeokuta’s first advantage was preparation. Scouts and patrols gave the defenders warning, allowing thousands of armed men to mobilise quickly.
The second was fortification. Abeokuta’s walls and gates gave retreating defenders positions around which they could reorganise after the opening reverses.
The third was familiarity with the surrounding country. Rivers, crossings, roads and settlements formed part of a landscape the Egba and their neighbours knew better than the invading army.
The fourth was leadership. Shokenu’s manoeuvre and Ogubonna’s ability to rally his men prevented temporary retreats from turning into general collapse.
A fifth factor was the wider civilian contribution. Egba women helped sustain the defence by carrying supplies and assisting wounded fighters.
The battle was therefore not won by Olumo Rock alone, nor by a single dramatic charge. It was the result of fortification, intelligence, local knowledge, mobilisation, battlefield recovery and organised resistance.
The British and Missionary Role
British and missionary assistance mattered, but it should not be confused with responsibility for the victory.
Henry Townsend of the Church Missionary Society distributed ammunition that had been supplied through Consul Beecroft. Missionaries also encouraged the defenders and assisted during the fighting.
Bowen, an American Baptist missionary with previous military experience, advised and encouraged Egba fighters.
This did not make the defenders a British-trained army.
The clearest evidence comes from the chronology.
Commander Frederick Forbes was later dispatched to Abeokuta to assist with its military defences, but he arrived on 13 November 1851, more than eight months after the March battle.
Forbes subsequently instructed some defenders in military tactics and artillery, helped train gunners and advised the Egba on strengthening their fortifications.
That later assistance cannot be projected backwards onto the battle of 3 March.
The decisive fighting had already been done.
The Battle of Abeokuta was principally an Egba military defence, fought under Egba commanders, although missionaries and British-supplied material contributed to the city’s ability to resist.
Common Myths and Misinterpretations
One recurring misunderstanding places Shodeke at the head of the Egba army in 1851. His importance to Abeokuta cannot be overstated, but his achievement belonged primarily to the city’s foundation and early consolidation.
Another problem concerns claims of an Egba commander named Oshodi. Landuji Oshodi Tapa was an important figure in nineteenth-century Lagos politics, particularly during the struggles involving Kosoko. He was not the documented commander of Abeokuta’s defence against Dahomey.
Oke-Oddan also requires careful treatment.
It should not be dismissed as an invented place or event. Bowen specifically wrote about a devastating Dahomean attack there. What cannot safely be transferred into the historical record is the later, highly specific narrative presenting a “Battle of Oke-Adan” in 1844 as an Egba victory under Oshodi without sufficient contemporary documentation.
Likewise, neat timelines containing a named “Battle of Imoshe” in 1849 should not be treated as established simply because they are repeated in modern accounts.
There was genuine Egba-Dahomean conflict before 1851. The difficulty lies in assigning later dates, names and commanders to poorly documented earlier encounters.
EXPLORE NOW: Democratic Nigeria
The Meaning of the Victory
The consequences of 3 March 1851 reached beyond Abeokuta’s walls.
Dahomey had cultivated a formidable military reputation, and the failure to destroy Abeokuta demonstrated that its armies were not irresistible. For the Egba, survival strengthened the standing of a settlement that had existed for little more than two decades.
The victory also increased Abeokuta’s strategic importance in British calculations concerning Lagos, regional trade and suppression of the overseas slave trade.
Yet the conflict did not disappear.
Dahomey remained a major regional state after 1851. Ghezo was succeeded by his son Gelele in 1858, and tensions with Abeokuta continued.
On 15 March 1864, Gelele led another major Dahomean attack against Abeokuta. The invasion was again repulsed.
The second failure reinforced what the first battle had demonstrated: Abeokuta had developed the defensive organisation, manpower and military institutions required to withstand one of the strongest states in the region.
Conclusion
The Battle of Abeokuta 1851 was a turning point because it revealed what Abeokuta had become.
Only about two decades earlier, the settlement had emerged from displacement and insecurity. By 1851, it was capable of mobilising thousands of fighters, defending fortified approaches and recovering from serious battlefield setbacks.
King Ghezo’s army came intending to destroy a rival whose growth threatened Dahomean interests. Instead, its commander Akati was killed, its assault was broken and its forces withdrew.
The victory belonged principally to the Egba themselves: to commanders such as Shokenu and Ogubonna, to the fighters who held and recovered their positions, to the women who supported the battlefront, and to a political community that had transformed refuge into organised power.
Abeokuta’s survival did not end regional warfare or slavery, and it did not destroy Dahomey. What it did was establish that the fortified Egba city had become a power that even Dahomey’s renowned military system could not easily overcome.
Author’s Note
The Battle of Abeokuta shows how communities created by displacement can become powerful political societies when survival demands organisation, leadership and collective defence. Abeokuta began as a refuge for Egba communities uprooted by the wars that transformed nineteenth-century Yorubaland, but by 1851 it had developed into a fortified centre capable of resisting a major Dahomean invasion. The story is therefore larger than a single battlefield victory. It is the history of political consolidation, regional rivalry and the transformation of a vulnerable settlement into one of the most important powers of its age.
References
Biobaku, Saburi O. The Egba and Their Neighbours, 1842–1872. Oxford: Clarendon Press, 1957; later reprinted by University Press PLC, Ibadan. Biobaku’s study draws extensively upon British official records, missionary papers, contemporary accounts and Egba historical traditions.
Bowen, Thomas Jefferson. Adventures and Missionary Labours in Several Countries in the Interior of Africa, from 1849 to 1856. Charleston: Southern Baptist Publication Society, 1857. Bowen was present in Abeokuta during the 1851 invasion and provided an important contemporary account of the fighting.
Yoder, John C. “Fly and Elephant Parties: Political Polarization in Dahomey, 1840–1870.” The Journal of African History, Vol. 15, No. 3, 1974, pp. 417–432.

