Politics of Malaysia takes place in the framework of a federal representative democratic constitutional monarchy, in which the Yang di-Pertuan Agong is head of state and the Prime Minister of Malaysia is the head of government. Executive power is exercised by the federal government and the 13 state governments. Federal legislative power is vested in the federal parliament and the 13 state assemblies. The judiciary is independent of the executive and the legislature, though the executive maintains a certain level of influence in the appointment of judges to the courts.
The Constitution of Malaysia is codified and the system of government is based on the Westminster system. The hierarchy of authority in Malaysia, in accordance to the Federal Constitution, stipulates the three branches (administrative components) of the Malaysian government as consisting of the Executive, Judiciary and Legislative branch. Whereas, the Parliament consists of the Dewan Negara (Upper House / House of Senate) and Dewan Rakyat (Lower House / House of Representatives).
Malaysia has had a multi-party system since the first direct election of the Federal Legislative Council of the Malaya in 1955 on a first-past-the-post basis. The ruling party since then had always been the Alliance Party (Malay: Parti Perikatan) coalition and from 1973 onwards, its successor, the Barisan Nasional (National Front) coalition.