An early name for this spot is Jiangzhou, given by a Qin general, and the land is tied to the old state of Ba. Ba's best-remembered general, Ba Manzi, had promised the king of Chu three cities for military help. When the king came to collect, Ba Manzi refused to hand over the land and offered his own severed head. A museum in Yuzhong now stands around his tomb.
The name changed several times. In 581 it became Yu Prefecture, and Yu is still the city's one-character abbreviation and the root of Yuzhong, the old centre. The present name dates from 1189, when a Southern Song prince who had just become king, and then emperor, celebrated a double occasion. Chongqing means roughly that: a doubled celebration.
River trade made the city. After the Qing conquest, settlers moved in with imperial backing, and merchants from other provinces built guild halls; Huguang Guild Hall dates from 1759 and still stands. In 1891 Chongqing became the first inland port opened to foreigners, and the British had already set up a consulate in 1890. Steamships did not make the trip upriver without teams of human haulers until 1907.
From November 1937 to May 1946, Chongqing was the wartime seat of Chiang Kai-shek's government. Japanese bombers hit it from 1938 to 1943, and the hills helped: many people survived in shelters dug into the terrain. On 5 June 1941 hundreds, by some accounts thousands, died in a stampede inside one shelter tunnel, which is now a museum. Factories and universities moved here from the east, and the river port became an industrial city. The wartime embassies, residences and offices you can walk into in Yuzhong come from this period.
The Nationalists kept Chongqing as their capital until late November 1949. That same year a fire swept the waterfront and killed more than 3,000 people. Later, Beijing's Third Front campaign put heavy industrial investment into the city. Today it is third in China for building vehicles and first for motorcycles.
On 14 March 1997 Chongqing was split from Sichuan and made a municipality in its own right, absorbing three neighbouring prefectures. It was meant to lead development in the west and to resettle people from the Three Gorges Dam reservoir. Since then it has built bridges at speed: apart from the first two, from 1960 and 1977, every one of its Yangtze bridges dates from 1995 or later. Its downtown core is now a favourite of travel YouTubers.