Flag of Empire of Brazil, for article on Bahia independence

Bahia’s liberation from Portugal completes Brazilian independence

On the seventh of September 1822 C.E., Brazil’s Prince Regent Pedro I declared independence from Portugal in a moment that would become legend — the Grito do Ipiranga, or Cry of Ipiranga. But for one vast and deeply contested province, that declaration meant little. In Bahia, Portuguese loyalists and their military forces held firm, and the work of liberation had only just begun.

Key findings

  • Bahia independence: Though Brazil declared independence on 7 September 1822 C.E., Portuguese forces were not expelled from Bahia until 2 July 1823 C.E. — a date that Bahians still celebrate as their own independence day, often with more fervor than the national holiday.
  • Brazilian independence struggle: Control of Bahia was decided in a series of land and naval battles, most notably at Pirajá in November 1822 C.E., where Brazilian and independence-aligned forces — including many Afro-Brazilian fighters — repelled a Portuguese advance.
  • Portuguese colonial rule: Bahia was the original seat of colonial power in the Americas for Portugal, serving as the administrative capital of all Portuguese holdings in the Americas from 1549 C.E. to 1763 C.E. — making its liberation symbolically and politically significant beyond its borders.

The last stronghold

Bahia’s relationship with Portugal was different from that of other Brazilian provinces. Salvador, its capital, had been the first city Portugal planted in Brazil — a fortified hilltop settlement overlooking the Bay of All Saints, founded in 1549 C.E. For more than two centuries, it was the administrative heart of the entire Portuguese colonial enterprise in the Americas.

By the early 19th century, Bahia’s landed elite — enriched by sugar, tobacco, and the brutal traffic of enslaved Africans — remained deeply tied to the Portuguese crown. When Pedro I declared independence in São Paulo, Bahia’s ruling class did not follow. Portuguese troops under General Inácio Luís Madeira de Melo held the province by force, and independence-minded Bahians were pushed out of Salvador into the interior.

What followed was nearly a year of armed conflict. Brazilian irregular forces, commanded by figures including the French mercenary Pierre Labatut and later the Brazilian-born general Felisberto Caldeira Brant, encircled Portuguese positions. The decisive confrontation came at Pirajá, where a Portuguese assault was repelled in conditions that mixed military strategy with sheer improvisation — and, by some accounts, a bugler’s misread signal that accidentally rallied Brazilian troops to a charge they won.

Who fought for freedom

The soldiers who drove Portugal from Bahia were not a homogeneous army. Among them were freed and enslaved Afro-Brazilians, Indigenous Brazilians, mixed-race Brazilians known as pardos, and poor white Brazilians — communities whose stake in the outcome of independence was complicated by the fact that the new Brazilian state intended to preserve the institution of slavery.

Afro-Brazilian fighters played a documented role in the independence battles, including at Pirajá. Yet the Empire of Brazil they helped create would not abolish slavery until 1888 C.E. — more than six decades later. The freedom celebrated on 2 July 1823 C.E. was a freedom for some, not all.

Still, the popular character of Bahia’s liberation — fought not just by elites but by ordinary people across racial lines — gave the Bahian independence movement a texture distinct from the royal decree issued in São Paulo. Scholars of Brazilian history have noted that July 2 carries particular weight in Bahia precisely because it reflects a broader, messier, more genuinely popular struggle.

Lasting impact

The expulsion of Portuguese forces from Bahia in 1823 C.E. completed Brazilian independence in practice, not just in proclamation. It unified the territory of the new Empire of Brazil and removed Portugal’s last military foothold on the continent.

Bahia’s earlier role as the colonial capital meant that many of Brazil’s oldest institutions — its first medical college (founded 1810 C.E.), its first engineering school (1899 C.E.), its oldest cathedral — were rooted there. The culture that grew in Salvador blended West African, Indigenous, and Portuguese traditions into something new: the Afro-Brazilian religious practice of Candomblé, the martial art of capoeira, a literary and culinary heritage unlike anywhere else in the Americas.

That cultural richness was not incidental to the struggle for independence. It was forged in the same crucible — a place where more than a third of all Africans taken across the Atlantic passed through, where the Malê Revolt of 1835 C.E. would later remind the world that enslaved people never stopped resisting. The Malê Revolt, led by predominantly Muslim West African enslaved people, remains the most significant urban slave rebellion in Brazilian history.

Bahia’s independence did not end the suffering embedded in its history. But it did mark the close of direct Portuguese rule over the territory — and opened a chapter in which Brazilians, however imperfectly, began to define their own future.

Blindspots and limits

Brazilian independence, including Bahia’s liberation, did not extend freedom to enslaved people — a population that represented a massive share of Bahia’s labor force and cultural life. The new Empire of Brazil was constituted partly to protect the slave-owning interests of the landed class, and the men who fought for independence from Portugal often had no intention of fighting for the emancipation of the people who worked their land. July 2 is rightly celebrated, but the full account of who paid for that celebration — and who was excluded from its benefits — belongs in the same sentence.

Historians also note that the exact sequence and significance of events in 1822 C.E. and 1823 C.E. has sometimes been flattened in popular memory, with the Grito do Ipiranga overshadowing the longer, harder struggle that made independence real on the ground in Bahia. The Library of Congress collections on Brazilian history preserve primary sources that complicate the tidy narrative of a single heroic declaration.

Read more

For more on this story, see: Wikipedia: Bahia

For more from Good News for Humankind, see:

About this article

  • 🤖 This article is AI-generated, based on a framework created by Peter Schulte.
  • 🌍 It aims to be inspirational but clear-eyed, accurate, and evidence-based, and grounded in care for the Earth, peace and belonging for all, and human evolution.
  • 💬 Leave your notes and suggestions in the comments below — I will do my best to review and implement where appropriate.
  • ✉️ One verified piece of good news, one insight from Antihero Project, every weekday morning. Subscribe free.

More Good News

  • Fishing boats on a West African coastline at sunrise for an article about Ghana marine protected area

    Ghana declares its first marine protected area to rescue depleted fish stocks

    Ghana’s marine protected area — the country’s first ever — marks a historic turning point for a nation gripped by a quiet fisheries crisis. Established near Cape Three Points in the Western Region, the protected zone restricts or bans fishing activity to allow severely depleted fish populations to recover. Ghana’s coastal stocks have fallen by an estimated 80 percent from historic levels, threatening food security and the livelihoods of millions of small-scale fishers. The declaration also carries regional significance, potentially inspiring neighboring Gulf of Guinea nations to establish coordinated protections of their own.


  • Researcher examining brain scan imagery for an article about Alzheimer's prevention trial results

    U.S. researchers cut Alzheimer’s risk by half in first-ever prevention trial

    Alzheimer’s prevention may have reached a turning point after a landmark trial showed that removing amyloid plaques before symptoms appear can cut the risk of developing the disease by roughly 50%. Researchers at Washington University School of Medicine studied people with rare genetic mutations that make Alzheimer’s nearly inevitable, finding that early, aggressive treatment can genuinely alter the disease’s course. The results, published in The Lancet Neurology, mark the first time any intervention has shown potential to prevent Alzheimer’s from appearing at all, not merely slow its progression. That distinction matters enormously, since amyloid begins accumulating in the brain two…


  • A woman coach gesturing instructions on a football sideline for an article about female head coach in men's top-five European leagues

    Marie-Louise Eta becomes first female head coach in men’s top-five European leagues

    Female head coach Marie-Louise Eta made history on April 11, 2026, when Union Berlin appointed her as interim head coach — becoming the first woman ever to hold a head coaching position in any of men’s top-five European leagues. The Bundesliga club made the move after dismissing Steffen Baumgart, with five matches remaining and real relegation stakes on the line. Eta, 34, had served as assistant coach since 2023 and was already a familiar, trusted presence within the squad. This was no ceremonial gesture — she was handed a survival fight, which is precisely what makes the milestone significant.



Coach, writer, and recovering hustle hero. I help purpose-driven humans do good in the world in dark times - without the burnout.