 On the eve of his death in 1557, the Portuguese empire had a global dimension and spanned almost .During his reign, the Portuguese became the first Europeans to make contact with both China, under the Ming dynasty, and Japan, during the Muromachi period.He abandoned Muslim territories in North Africa in favor of trade with India and investment in Brazil.