Brazil gained independence in 1822, ending Portuguese rule and establishing an independent empire under Pedro.
Brazil's independence took place in 1822 when the crown prince declared the nation independent after the royal family escaped from Napoleon's invasion of Portugal to Brazil. This event marked the end of over three centuries of Portuguese rule in Brazil, transitioning into an independent empire headed by Pedro. It wasn't until 1889 that Brazil became a true republic, abolishing the empire.
https://brainly.com/question/92143