Which European country used to have its capital outside Europe?

Spain

France

Portugal

Germany

On November 29,1807, Braganza royal family and its court of nearly 15,000 people escaped from Lisbon to Rio de Janeiro, shortly before Napoleon­ic forces invaded Lisbon. For thirteen years, Rio de Janeiro func­tioned as the capital of the Kingdom of Por­tu­gal.