The Politics of Shanghai is structured in a dual party-government system like all other governing institutions in the mainland of the People's Republic of China (PRC). In the last few decades the city has produced many of the country's eventual senior leaders, including Jiang Zemin, Zhu Rongji, Wu Bangguo, and Huang Ju.
The Mayor of the Shanghai Municipal People's Government (上海市人民政府市长, shorten as 上海市市长 ie Mayor of Shanghai Municipality) is the highest ranking executive official in Shanghai. Since Shanghai is a direct-controlled municipality of China, the mayor occupies the same level in the order of precedence as provincial governors. However, in the city's dual party-government governing system, the mayor has less power than the Communist Party of China Shanghai Municipal Committee Secretary (中国共产党上海市委员会书记, shorten as 中共上海市委书记), colloquially termed the "Shanghai CPC Party chief" in English.
Before 1941, Shanghai had a split administration: the International Settlement (governed under the Shanghai Municipal Council), the French Concession, and the Chinese City. The Chinese city was invaded by the Japanese in 1937 and the foreign concessions were occupied by the Japanese in 1941. After the occupation, the foreign powers formally ceded the territory to the Nationalist Government in Chongqing (a move largely symbolic until the Japanese surrender since the Nationalists no longer controlled Shanghai).
Prior to the establishment of the office of Mayor of Shanghai, the city's administration was overseen by the circuit intendant ("taotai"). The office was abolished at the fall of the Qing.