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

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