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

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