Lisbon
Lisbon (; , ) is the capital and the largest city of Portugal, with an estimated population of 505,526 within its administrative limits in an area of 100.05 km. Its urban area extends beyond the city's administrative limits with a population of around 2.8 million people, being the 11th-most populous urban area in the European Union. About 3 million people live in the Lisbon Metropolitan Area (which represents approximately 27% of the country's population). It is mainland Europe's westernmost capital city and the only one along the Atlantic coast. Lisbon lies in the western Iberian Peninsula on the Atlantic Ocean and the River Tagus. The westernmost areas of its metro area form the westernmost point of Continental Europe, which is known as Cabo da Roca, located in the Sintra Mountains.
Portuguese Empire
In 1808, Napoleon Bonaparte invaded Portugal, and Dom João, Prince Regent in place of his mother, Dona Maria I, ordered the transfer of the royal court to Brazil. In 1815 Brazil was elevated to the status of Kingdom, the Portuguese state officially becoming the United Kingdom of Portugal, Brazil and the Algarves ("Reino Unido de Portugal, Brasil e Algarves"), and the capital was transferred from Lisbon to Rio de Janeiro, the only instance of a European country being ruled from one of its colonies. There was also the election of Brazilian representatives to the Cortes Constitucionais Portuguesas (Portuguese Constitutional Courts), the Parliament that assembled in Lisbon in the wake of the Liberal Revolution of 1820.