What is the ending year of XXX?
United Kingdom of Portugal, Brazil and the Algarves
The United Kingdom of Portugal, Brazil and the Algarves was a pluricontinental monarchy formed by the elevation of the Portuguese colony named State of Brazil to the status of a kingdom and by the simultaneous union of that Kingdom of Brazil with the Kingdom of Portugal and the Kingdom of the Algarves, constituting a single state consisting of three kingdoms.