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

  • Solar panels and wind turbines generating clean electricity for an article about renewable energy capacity

    Renewables hit 49% of global power capacity for the first time

    Renewable energy capacity crossed a landmark threshold in 2025, with global installed power surpassing 5,100 gigawatts and representing 49% of all capacity worldwide for the first time in history. The International Renewable Energy Agency reported a single-year addition of 692 gigawatts, led overwhelmingly by solar power, which alone accounted for 75% of new renewable installations. Clean energy now represents 85.6% of all new power capacity added globally, signaling that the transition has moved from aspiration to economic reality. The milestone carries implications beyond climate — nations with strong renewable bases demonstrated measurably greater energy security amid ongoing geopolitical instability.


  • A person sitting quietly on a bench at sunset, for an article about global suicide rate decline — 15 words.

    Global suicide rate has dropped nearly 40% since the 1990s

    Global suicide rates have dropped nearly 40% since the early 1990s, falling from roughly 15 deaths per 100,000 people to around nine — one of modern public health’s most significant and underreported victories. This decline was driven by expanded mental health services, crisis intervention programs, and proven strategies like restricting access to lethal means. The progress spans dozens of countries, with especially sharp declines in East Asia and Europe. Critically, this trend demonstrates that suicide is preventable at a population level — making the case for sustained investment in mental health infrastructure worldwide.


  • A white rhino walks through open savanna grassland for an article about Uganda rhino reintroduction

    Rhinos return to Uganda’s wild after 43 years of absence

    Uganda rhino reintroduction marks a historic milestone: wild rhinoceroses are roaming Ugandan soil for the first time in over 40 years. In 2026, rhinos bred at Ziwa Rhino Sanctuary were released into Kidepo Valley National Park, ending an absence caused entirely by poaching and political collapse during the Idi Amin era. The release represents decades of careful breeding, conservation funding, and community engagement. For local communities, conservationists, and a watching world, it proves that deliberate, sustained human effort can reverse even the most painful wildlife losses.



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