The Yang di-Pertuan Agong (literally 'He Who is Made Lord', Jawi: ), also known as the Supreme Head or the King, is the monarch and head of state of Malaysia. The office was created in 1957, when the Federation of Malaya (now Malaysia) gained independence from the United Kingdom. Malaysia is a constitutional monarchy with an elected monarch as head of state. The Yang di-Pertuan Agong is one of the few elected monarchs in the world.