In 1815, in order to justify continuing to live in Brazil, where the royal court had thrived for the past six years, the Crown established the United Kingdom of Portugal, Brazil, and the Algarves, thus creating a pluricontinental transatlantic monarchic state.