by Ibn Khordadbeh in Kitāb al Masālik w'al Mamālik, Kalah-Bar by Soleiman Siraf & Abu Zaid al Hassan in Silsilat-al-Tawarikh (travels in Asia), and Kalah by Abu-Dulaf Misa'r Ibn Muhalhil in Al-Risalah al-thaniyah. The famous Tang dynasty Buddhist monk, Yi Jing who visited Malay archipelago between 688 and 695, also mentioned about a kingdom known as Ka-Cha in the northern part of the Malay peninsula, which according to him was 30 days sail from Bogha (Palembang), the capital of Sribogha (Srivijaya). In the seventh and eighth centuries, Kedah was under the loose control of Srivijaya. Indian and Arab sources consider Kedah to be one of the two important sites during the Srivijaya period, often calling the king of the straits "the ruler of Srivijaya and Kataha". In 1025, Rajendra Chola, the Chola king from Coromandel Coast in South India, captured Kedah in his Chola invasion of Srivijaya and occupied it for some time. A second invasion was led by Virarajendra Chola of the Chola dynasty who conquered Kedah in the late 11th century. During the reign of Kulothunga Chola I Chola overlordship was established over the Srivijayan province of Kedah in the late 11th century. Kedah Sultanate According to Hikayat Merong Mahawangsa or the Kedah Annals, Kedah was founded by a Hindu king named Merong Mahawangsa. According to the text further, the Sultanate of Kedah started in year 1136 when King Phra Ong Mahawangsa converted to Islam and adopted the name Sultan Mudzafar Shah. However, an Acehnese account gave a date of 1474 for the year of conversion to Islam by the ruler of Kedah. This later date accords with an account in the Malay Annals where a raja of Kedah visited Malacca during the reign of its last sultan seeking the honour of the royal band that marks the sovereignty of a Muslim ruler. However, in Thai chronicles told that Kedah was a Thai city like Nakhon Si Thammarat and was a part of Siamese kingdom but later was changed into a Malay state after invasion of Muslim kingdoms until today. It was later under Siam, until it was conquered by the Malay sultanate of Malacca in the 15th century. In the 17th century, Kedah was attacked by the Portuguese after their conquest of Malacca, and by Aceh. In the hope that Great Britain would protect what remained of Kedah from Siam, the sultan handed over Penang and then