The Prime Minister of Malaysia (Malay: Perdana Menteri Malaysia) is the indirectly elected head of government (executive) of Malaysia. He is officially appointed by the Yang di-Pertuan Agong, the head of state, who in HM's judgment is likely to command the confidence of the majority of the members of that House of Representatives (Dewan Rakyat), the elected lower house of Parliament. He heads the Cabinet, whose members are appointed by the Yang di-Pertuan Agong advice of the prime minister.