Most of its commanders were mercenaries and Portuguese officers loyal to Dom Pedro. By the death of Dom Pedro in 1786, all the interior work was completed. With the death of Dom Pedro II, on December 5, 1891, melancholy and mania returned. Pedro briefly entitled himself Dom Pedro IV of Portugal. Emperor Dom Pedro I of Brazil in 1831. Leopoldina was married to Dom Pedro "per procuram" (by proxy) in Vienna. Emperor Dom Pedro II wanted to encourage the cultivation of cotton. Among them was Dom Pedro de Alcantara, the Emperor of Brazil. Dom Pedro I of Brazil, declared Brazilian independence from Portugal. Another Portuguese sailor, Dom Pedro Mascarenhas, gave the name "Mascarenes" to the Archipelago. Prince Pedro was acclaimed Dom Pedro I, Constitutional Emperor and Perpetual Defender of Brazil.