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

  • A researcher examining cancer cell slides under a microscope for an article about UK cancer death rates

    UK cancer death rates reach their lowest level ever recorded

    Cancer death rates in the United Kingdom have fallen to the lowest level ever recorded, according to Cancer Research UK data published in 2026. Age-standardized mortality rates have dropped by more than 25% over the past two decades, driven by advances in lung, bowel, and breast cancer treatment and diagnosis. Expanded NHS screening programs, immunotherapy, and targeted drug therapies are credited as key factors behind the sustained decline. The achievement represents generations of compounding progress across research, clinical care, and public health, though significant inequalities in cancer survival persist across socioeconomic and geographic lines.


  • A California condor in flight with wings fully spread, for an article about California condor recovery on Yurok tribal land

    California condors nest on Yurok land in the Pacific Northwest for the first time in over a century

    California condors are nesting in the Pacific Northwest for the first time in over a century, on Yurok Tribe territory in Northern California. The confirmed nest marks a landmark moment in condor recovery and represents deep cultural restoration for the Yurok people, who consider the condor — prey-go-neesh — a sacred relative. The Yurok Tribe has led reintroduction efforts since 2008, combining Indigenous ecological knowledge with conventional conservation science. Successful wild nesting signals the recovering population is crossing a critical threshold, demonstrating that Indigenous-led conservation produces measurable, meaningful results.


  • Aerial view of Canadian boreal forest and lake for an article about Canada 30x30 conservation

    Canada commits .8 billion to protect 30% of its lands and waters by 2030

    Canada 30×30 conservation commitment: Canada has pledged .8 billion to protect 30% of its lands and waters by 2030, one of the largest conservation investments in the country’s history. Prime Minister Mark Carney announced the plan under the global Kunming-Montréal biodiversity framework, with Indigenous-led conservation and Guardians programs at its center. The commitment matters globally because Canada’s boreal forests, Arctic tundra, and freshwater systems regulate climate far beyond its borders. Whether the pledge delivers lasting protection will depend on the strength of legal frameworks and the quality of Indigenous partnership.



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