Who has been the world 's largest producer of coffee for the last 150 years ?
Brazil remained a Portuguese colony until 1808 , when the capital of the empire was transferred from Lisbon to Rio de Janeiro after French forces led by Emperor Napoleon Bonaparte invaded Portugal .