The Kedah Sultanate (كسلطانن قدح) is a Muslim dynasty located in the Malay Peninsula. It was originally an independent state, but became a British protectorate in 1909. Its monarchy was abolished after it was added to the Malayan Union but was restored and added to the Malayan Union's successor, the Federation of Malaya. The information regarding the formation of this sultanate and the history before and after its creation comes from the "Kedah Annals". The annals were written in the 18th century, over a millennium after the formation of the supposed Kedah Kingdom. It describes the first king of Kedah as arriving on the shores of Kedah as a result of an attack by a mythical gigantic beast. It states that the nation was founded by the offspring of Alexander the Great. However, Thai chronicles mention that Kedah was a Thai city like Nakhon Si Thammarat and was a part of the Siamese kingdom but later was changed into a Malay state after invasion by Muslim kingdoms until today. The Kedah Annals provides unreliable information on the sultans of Kedah, listing the first sultan of Kedah as Sultan Mudzafar Shah I in 1136, while an Acehnese account gives the conversion to Islam on 1474. Although not impossible, the year 1136 is also unlikely since it pre-dates the Terengganu Inscription Stone by almost three centuries. Claims made by the Kedah Annals also directly contradict the fact that the Buddhist Srivijaya kingdom was in direct control of Kedah at the time Sultan Mudzafar Shah I allegedly converted the region to a sultanate. Kedah may have remained Hindu-Buddhist until the 15th century. History Around 788 BCE, a systematic government of a large settlement of Malay native of Kedah had already established around the northern bank of the Merbok River. The state consisted of a large area of the Bujang Valley, covering the Merbok and Muda River branches in an approximately 1000-square mile area. The capital of the settlement was built at the estuary of a branch of the Merbok River, now known as Sungai Batu. Around 170 CE, groups of Hindu adherents arrived at Kedah, who were soon joined by peoples from nearby islands and from the northern Mon-Khmer region. At the same time, traders from India, Persia and the Arabian peninsula arrived at the brink of the Malacca Strait, using Gunung Jerai (the Kedah Peak) as a marking point. Ancient Kedah covered