 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 Kedah Annals were written in the eighteenth century, over a supposed millennium after the formation of the Kedah Kingdom.