Brazil became a Kingdom.
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 . Independence was achieved in 1822 with the creation of the Empire of Brazil , a unitary state governed under a constitutional monarchy and a parliamentary system . The country became a presidential republic in 1889 following a military coup d'état .