Between 1807 and 1821 the capital of Portugal was found in which city?

Rio de Janeiro

London

Madrid

Goa