In the early period of the Ming Dynasty, the Xiangshan County is an island at the mouth of the Pear River. Merchants from Zhangzhou were present at the outer seas of Xiangshan at that time, trading with those from South East Asia who came to Guangzhou to present tributes. In the 2nd year of the Tianshun Reign (AD 1458), Yan Qisheng, a merchant from Zhangzhou who was also a pirate, came to the outer seas of the Shawei Village, while records regarding the Emissary of Ryukyu, Cai Rui (whose ancestors came from Zhangzhou), coming to the Port of Xiangshan for trade were found. These evidences suggest that trade did exist between China and the outside world at the outer seas of Shawei, where Macau is located, well before the arrival of Portuguese merchants to Macau. Macau at that time was known as “Ya Ma Gang”, whose denomination shows that the faith of Mazu had been practised in the region for a long time, tracing back to the times when Yan Qisheng was active.