PDI-P party had won the largest share of the vote (34%) in the general election, while Golkar, the dominant party during the Soeharto era, came in second (22%). Several other, mostly Islamic parties won shares large enough to be seated in the DPR. Further democratic elections took place in 2004 and 2009. Branches Executives The president and vice-president are selected by vote of the citizens for five-year terms. Prior to 2004, they were chosen by the People's Consultative Assembly. The last election was held on 17 April 2019. The President of Indonesia is directly elected for a maximum of two five-year terms and is the head of state, commander-in-chief of the armed forces and responsible for domestic governance and policy-making and foreign affairs. The president appoints a cabinet, members of which do not have to be elected members of the legislature. Legislatures The MPR is the legislative branch of Indonesia's political system. The MPR is composed of two houses: the lower house, which is commonly called the People's Representative Council ( or DPR) and the upper house, which is called the Regional Representative Council ( or DPD). The DPR parliamentarians are elected through multi-member electoral districts, whereas 4 DPD senators are elected in each of Indonesia's 34 provinces. The DPR holds most of the legislative power because it has the sole power to pass laws. The DPD acts as a supplementary body to the DPR; it can propose bills, offer its opinion and participate in discussions, but it has no legal power. The MPR itself has power outside of those given to the individual houses. It can amend the constitution, inaugurate the president and conduct impeachment procedures. When the MPR acts in this function, it does so by simply combining the members of the two houses. Judiciary The Indonesian Supreme Court () is the highest level of the judicial branch. Its judges are appointed by the president. The Constitutional Court rules on constitutional and political matters (), while a Judicial Commission () oversees the judges. Audit Board of Indonesia The Audit Board of Indonesia () is the high state body responsible for checking the management and accountability of state finances conducted by the central government, local government, other state institutions such as Bank Indonesia, state- and municipally-owned enterprises, Public Service Boards, and institutions or other entities that manage state finances. See also Law enforcement in Indonesia Constitution of Indonesia Flag