Option D i.e Brazil is the correct answer.
When Napoleon 's army or French army conquered Portugal in 1807, the royal family of Portugal fled to Brazil. The royal family of Portugal under its king Dom João VI established his empire there and thus ruled his empire from Rio de Janeiro. The king returned to Portugal in 1820 and his declared independence of Brazil.