France is a unitary semi-presidential republic with a bicameral legislature. Public officials in the legislative and executive branches are either elected by the citizens (directly or indirectly) or appointed by elected officials. Referendums may also be called to consult the French citizenry directly on a particular question, especially one which concerns amendment to the Constitution. France elects on its national level a head of state – the president – and a legislature. The president is elected for a five-year term (previously, seven years), directly by the citizens. The Parliament () has two chambers. The National Assembly () has 577 members, elected for a five-year term in single seat-constituencies directly by the citizens. The Senate () has 348 members, elected for six-year terms. 328 members are elected by an electoral college consisting of elected representatives from each of 96 departments in metropolitan France, 8 of which are elected from other dependencies, and 12 of which are elected by the French Assembly of French Citizens Abroad () which has replaced the High Council of French Citizens Abroad () a 155-member assembly elected by citizens living abroad. In addition, French citizens elect a variety of local governments. There also are public elections for some non-political positions, such as those for the judges of courts administering labour law (), elected by workers and employers, or those for judges administering cases of rural land leases. French politics has ordinarily displayed some tendencies characterizing a two-party system in which power alternates between relatively stable coalitions, each being led by a major party: on the left, the Socialist Party, on the right, and its predecessors. This pattern was upset in 2017, when neither of those parties' candidates reached the second round of the presidential election and the newly formed party gained both the presidency and a comfortable majority in the National Assembly. Elections are conducted according to rules set down in the Constitution of France, organic laws (), and the electoral code. Voting is not compulsory. Elections are held on Sundays. The campaigns end at midnight the Friday before the election; then, on election Sunday, by law, no polls can be published, and no electoral publications or broadcasts can be made. The voting stations open at 8 am and close at 6 pm in small towns or at 8 pm in cities, depending on prefectoral decisions. By law, publication of results or estimates is prohibited prior to