What was the capital city of Portugal between the years 1808 and 1821?

History Trivia: What was the capital city of Portugal between the years 1808 and 1821?