During which war was Brazil last invaded ?
In 1808 , the army of French Emperor Napoleon I invaded Portugal , forcing the Portuguese royal family — the House of Braganza , a branch of the thousand - year - old Capetian dynasty — into exile .