Peter, Crown Prince of Portugal more or less unsurprisingly Brazil from his father, King John VI of Portugal, whom he had declared to have the title of Emperor of Brazil also has consolation.
Emperor Peter I briefly was also King Peter IV of Portugal, after his father died. He abdicated Portugal in favour of his daughter, Maria II, because another union was not seen as desirable. All subsequent Portuguese monarchs, save for her usurper uncle, descend from her.
The second and last emperor of Brazil was Peter II. The present Brazilian Imperial Family descends from him.