The significant numbers of statues of Hindu deities and of the Buddha found in Bidor, Kuala Selensing, Jalong, and Pengkalan Pegoh indicate that, before the arrival of Islam, the inhabitants of Perak were mainly Hindu or Buddhist. The influence of Indian culture and beliefs on society and values in the Malay Peninsula from early times is believed to have culminated in the semi-legendary Gangga Negara kingdom. The "Malay Annals" mention that Gangga Negara at one time fell under Siamese rule, before Raja Suran of Thailand sailed further south down the Malay Peninsula.