After losing Haiti, France’s most valuable Caribbean colony, Napoleon refocused his ambitions on Europe, invading Portugal in 1808 with the idea of taking the port of Lisbon. Overmatched, the Portuguese court fled across the Atlantic to Rio de Janeiro.