The beginning of the Edo period coincides with the last decades of the Nanban trade period, during which intense interaction with European powers, on the economic and religious plane, took place. At the beginning of the Edo period, Japan built her first ocean-going Western-style warships, such as the San Juan Bautista, a 500-ton galleon-type ship that transported a Japanese embassy headed by Hasekura Tsunenaga to the Americas, and then continued to Europe. Also during that period, the bakufu commissioned around 350 Red Seal Ships, three-masted and armed trade ships, for intra-Asian commerce.