When did Brazilian forces take Salvador from Portuguese control?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

During the war for Brazilian independence, Salvador served as the final stronghold for Portuguese forces. Brazilian troops successfully took the city in July 1823, when the last of the Portuguese forces were expelled from the region.1