Malay Muslims lived in what is now Thailand before the formation of the Thai kingdome and were incorporated into the kingdome during the latter part of 18th century.The Malay Muslim population opposed this incorporation because they had been living under an independent Muslim sultanate and preferred to be integrated into a Malay state or govern themselves.