Until 1763, Salvador de Bahia was the capital of which country?

Brazil

Spain

Mexico

Portugal