The navy was involved in Brazil's war of independence from Portugal. Most of Portugal's naval forces and bases in South America were transferred to the newly independent country. In the initial decades following independence, the country maintained a large naval force and the navy was later involved in the Cisplatine War, the River Plate conflicts, the Paraguayan War as well as other sporadic rebellions that marked Brazilian history.