Three times Napoleon tried to take the Kingdom Portugal. The first time when the french troops arrived at Lisbon they were greeted with peace as ordered by the king before leaving to Rio de Janeiro and make it the new capital of the empire.