The structure and organization of the Kedah political system, like those of the other patriachal Malay states in the Peninsula, was based essentially on that of the Malacca Sultanate. Under this system, the apex and centre of the organisation was the Sultan, whose political authority was strengthened by the belief that he was endowed with the magical attributes of a “divine king”. This is evident in his title, Yang di-Pertuan (He who is made Lord); and is also manifested in the elaborate court ceremonials and rituals; the clothing, weapons, domestic adornments and a special vocabulary reserved exclusively for royalty. The political functions of the Sultan were very comprehensive covering the fields of internal administration, the defence of the country, and matters relating to external affairs.