For ten points, name this ruler who, in 1822, became the first Emperor of an independent Brazil.
This man had five illegitimate children with his mistress Domitila de Castro, whom he eventually elevated to Marchioness of Santos, humiliating his first wife, Maria Leopoldina. He abdicated in favor of his daughter Maria II for his second throne, which he had received after the death of his father John VI. After he supported the revolt at Oporto, Andrada e Silva and his wife advised him to declare independence for his country, although he would later abdicate in favor of his five-year-old son. For ten points, name this ruler who, in 1822, became the first Emperor of an independent Brazil.
This man had five illegitimate children with his mistress Domitila de Castro, whom he eventually elevated to Marchioness of Santos, humiliating his first wife, Maria Leopoldina.
Dom {Pedro I} of Brazil (accept {Pedro IV} of {Portugal}; prompt on “Pedro”)