Major trading partners included China and Japan, with ties to India through the areas that are now Malaysia and Indonesia.[2] The Spanish-controlled Port of Manila handled trade primarily with China and other East Asian countries, with Mexico, with Arab countries, and directly with Spain from the 16th to mid-19th century CE when the port was opened to all trade ships.