Brazil was once part of the United Kingdom of Portugal, South America and the Algarves.
Brazil . In 1815 , the colony was elevated to the rank of kingdom upon the formation of the United Kingdom of Portugal , Brazil and the Algarves . Kingdom of Portugal . After 1248 , it was also known as the Kingdom of Portugal and the Algarves and between 1815 and 1822 , it was known as the United Kingdom of Portugal , Brazil and the Algarves .