Elections in Malaysia include elections to public office of the political entities that since 1963 have composed the federation of Malaysia. At present, elections in Malaysia exist at two levels: federal level and state level. Federal level elections are those for membership in the Dewan Rakyat, the lower house of Parliament, while state level elections are for membership in the various State Legislative Assemblies. The heads of executive branch at both the federal and state levels, the Prime Minister and Menteri Besar/Chief Ministers respectively, are indirectly elected, usually filled by a member of the majority party/coalition in the respective legislatures. While any state may dissolve its assembly independently of the Federal Parliament, the traditional practice is for most state assemblies to be dissolved at the same time as Parliament, with the exception of Sabah and Sarawak, although these two states had held elections simultaneously with the rest of the country, as it is the case for Sabah in elections from 2004 to 2018, and Sarawak in the 1969 and 1974 elections. The practice of holding simultaneous elections was disrupted following the 2020–2022 Malaysian political crisis, with only three states holding state elections at the same time as the 2022 parliamentary general election. Federal level At the federal level, voters elect the 222-member House of Representatives (, literally "Hall of the People") of the bicameral Parliament. Members are elected from single-member constituencies drawn based on population using the first past the post system. The party that has the majority of the House of Representatives will form the federal government. The Constitution of Malaysia requires that a general election must be held at least once every five years. However, the Prime Minister can ask the Yang di-Pertuan Agong to dissolve the Parliament at any time before this five-year period has expired. A general election should be held no later than 60 days after the dissolution of the Parliament. Since independence, the parliamentary elections have most often been won by the Barisan Nasional (National Front, abbreviated BN, and its predecessor, the Alliance), a coalition of fourteen parties. The 1969 election saw the first time the Alliance failed to attain a two-thirds majority in Parliament (two-thirds majority being the majority required to pass most constitutional amendments), which happened again in the 2008 and 2013 elections; the latter also saw the BN losing the popular vote while retaining the majority of seats. In the 2018