During the Southern Dynasties, Naini had contacts with China, such as Liang, Sui and Tang Dynasties. In the second year of the Northern Song Dynasty (AD 977) and the fifth year of Yuanfeng (AD 1082), Ni Chen went to China twice. In the early years of the Ming Dynasty, Zhu Yuanzhang, the first emperor of the Ming Dynasty, sent messengers to Tenny. In the third year of Yongle (A.D. 1405), King Manarajanana sent messengers to offer local products, and Ming Chengzu sent officials to make him king. In the sixth year of Yongle (A.D. 1408), the king came to China for a friendly visit with his wife, brothers and sisters, children and more than 50 people 10, and died in the same year10 (at the age of 28). Cheng Zu of Ming Dynasty was buried with royal gifts, bowed to the king and built a shrine for sacrifice. The Kingdom of Tani is located in Brunei, in the northern part of kalimantan island today. At the beginning of the founding of the People's Republic of China, it only owned the land near Brunei Port in northern kalimantan island, and then it gradually expanded. By the early Ming Dynasty, it had occupied most of kalimantan island and islands in the southern Philippines.