Answer
Besides Emperor of Brazil, Pedro I also held the title of King of Portugal. This was due to the fact that he was the son of the King of Portugal, John VI, and was thus the heir to the Portuguese throne. However, Pedro I abdicated the Portuguese throne in 1831 in order to become the Emperor of Brazil.