In 1807, France invaded Portugal, and the royal family fled to Brazil, including Pedro Carlos. They left on 29 November on board the "Príncipe Real".