The first government of Brazil was a monarchy
Brazil . 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 .