The coastline of the Straits of Malacca. Malaysia's ethnic and cultural makeup is largely due to several centuries of migration resulting from its uniquely important position as a maritime trading hub. Hindu and Buddhist cultures imported from India dominated the early centuries of Malaysian history. Although Muslims passed through Malaysia as early as the 10th Century, it was not until the 14th and 15th Centuries that Islam first established itself on the Malay Peninsula. The adoption of Islam by the 15th Century saw the rise of a number of sultanates. Trade with China and India during this period saw the first Chinese and Indians settling and adopting aspects of the Malay culture into their own. The descendants of these early ancestors are today's Baba-Nyonya and Chetti community.The Portuguese were the first European colonial power to establish themselves in Malaysia in 1511, followed by the Dutch. However, it was the British who ultimately secured their hegemony across the territory. The Anglo-Dutch Treaty of 1824 defined the boundaries between British Malaya and the Netherlands East Indies which then became Indonesia. A fourth phase of influence was the immigration of Chinese and Indian workers to meet the needs of the colonial economy created by the British in the Malay Peninsula and Borneo.