The Portuguese royal court transferred from Lisbon to the Portuguese colony of Brazil in a strategic retreat of Queen Maria I of Portugal, prince regent John, the Braganza royal family, its court, and senior officials, totaling nearly 10,000 people, on 27 November 1807.