The coastal province of Fujian was home to a long maritime tradition, giving rise to many great ports during the
Song dynasty (960–1279) such as
Quanzhou and
Fuzhou, from where sea trade abroad to Southeast Asia, the Hindu world, the Islamic world, and the East African world brought merchants great fortune. These maritime trade networks were disrupted by the
Mongol conquests, and the
Ming dynasty who displaced the Mongols in the 14th century adopted an agrarian policy that discouraged private sea trade. Under the
haijin ("maritime prohibition") laws, all overseas trade were to be conducted through the so-called
tributary trade, where foreign states presented tributes to the Chinese court and received gifts as a sign of imperial favour in return. Fuzhou and Quanzhou were designated as the officials seaports for this trade, but as tributary trade was tightly controlled by the government, it was inadequate to the demands of the markets, both domestic and foreign. Eventually Fujianese smugglers converged at the comparatively remote port of Yuegang ("Moon Harbour") in southern Fujian, so named because of its crescent-shaped harbour. By the beginning the 14th century, merchants were recorded to be building multi-masted oceangoing vessels in Yuegang to go to
Ryukyu Islands and Southeast Asia, flouting the maritime prohibitions. Foreign goods flowed into Yuegang while
Jingdezhen porcelain with Islamic designs were exported to Southeast Asian markets. Soon kilns were set up in nearby Zhangzhou to take advantage of the accessible maritime trade route, giving rise to the export porcelain known as
Zhangzhou ware at a time when
Jingdezhen suffered a temporary decline since it could not keep up with the pace that the market demanded. In the early 16th century, Europeans starting with the Portuguese joined this trade at Yuegang, and the Yuegang merchants were noted to be using Portuguese firearms as early as 1533. The flourishing trade earned Yuegang the nickname "Little
Suhang", a reference to the great metropolises of
Suzhou and
Hangzhou. As other smuggling ports like
Shuangyu further up the coast were shut down by the Ming army in the late 1540s, Yuegang, being relatively unscathed by the
pirate suppression campaigns, gradually thrived as the primary Chinese port of the overseas smuggling trade. In the early 1560s, it was recorded that the Yuegang port was home to up to 200 oceangoing vessels. ==Legal trade==