Elections in the People's Republic of China are based on a hierarchical electoral system, whereby local People's Congresses (人民代表大会) are directly elected, and all higher levels of People's Congresses up to the National People's Congress, the national legislature, are indirectly elected by the People's Congress of the level immediately below.
Governors, mayors, and heads of counties, districts, townships and towns are in turn elected by the respective local People's Congresses. Presidents of people's courts and chief procurators of people's procuratorates are elected by the respective local People's Congresses above the county level. The President and the State Council are elected by the National People's Congress.
People's Congresses of cities that are not divided into districts (), counties (县), city districts (市辖区), towns (镇), townships (乡), and lastly ethnic townships (民族乡), are directly elected. Additionally, village (村) committee members and chairpersons are directly elected. Local People's Congresses have the constitutional authority to recall the heads and deputy heads of government at the provincial level and below.
Under the electoral law of 1 July 1979, nomination of candidates for direct elections (in counties, townships, etc.) can be made by the Communist Party of China, the various other political parties, mass organizations, or any voter seconded by at least 3 others. The final list of electoral candidates must be worked out through "discussion and consultation" or primary elections, but in practice is determined by the election committee in consultation with small groups of voters, through a process known as the "three ups and three downs" (三上三下, sān shàng sān xià). According to the Chinese government, the "three ups and three downs" process is supposed to operate as follows: