The Parliament of Malaysia is the national legislature of Malaysia, based on the Westminster system. The bicameral parliament consists of the Dewan Rakyat and the Dewan Negara. The Yang di-Pertuan Agong (King), as the head of state, is the third component of Parliament.