Hang Prefecture


Hangzhou or Hang Prefecture was a zhou in imperial China located in modern northern Zhejiang, China, around modern Hangzhou. The prefecture was called Yuhang Commandery from 607 to 621 and from 742 to 758. Hang Prefecture was the capital of the Wuyue kingdom, inside which it was known as Xi Prefecture, and during its last years of the kingdom, as Qiantang Prefecture.
Hang Prefecture sat at the head of the Hangzhou Bay, which opens to the East China Sea. It was also the southern terminus of the Grand Canal and the eastern terminus of the Qiantang River. During the Northern Song it was the capital of Liangzhe Circuit. In 1129 it became Lin'an Prefecture, which would become the capital of the Southern Song in 1138.

Counties

For most of its history, Hang Prefecture administered the following 7–9 counties, some of whose names changed frequently:

History

During Sui and the Sui–Tang transition (589–622)

In 587, the southern Chen dynasty created Qiantang Commandery, which administered four counties. When the northern Sui dynasty conquered the Chen dynasty in 589, Qiantang Commandery was renamed to Hang Prefecture.
In 606, the City Walls were built.
In 607, Emperor Yang of Sui renamed hundreds of prefectures. Hang Prefecture was renamed to Yuhang Commandery.
In 609, the Grand Canal was completed.
During the transition from Sui to Tang, the warlord Shen Faxing first held Yuhang Commandery in the confusion following the assassination of Emperor Yang in 618. In 620, he was defeated by the warlord Li Zitong, who took over his territory.

During Tang and Wuyue (622–978)

The Tang dynasty did not occupy the prefecture until December 611, when the Tang army under Li Fuwei destroyed Li Zitong's defense in Yuhang. The Tang renamed Yuhang Commandery to Hang Prefecture.
In 653, the woman rebel leader Chen Shuozhen attacked Hang Prefecture and took Yuqian.
In the late Tang dynasty, the rebel Huang Chao briefly occupied Hang Prefecture twice, first in 878 and later in 880. In the late 870s, local militias were formed to resist the rebel Wang Ying, and among the soldiers were Hang Prefecture natives Dong Chang and Qian Liu.
In 882, warlord Liu Hanhong, who was based in neighboring Yue Prefecture, wanted to take over Hang Prefecture from Dong Chang. He was soundly defeated by Dong Chang's force led by Qian Liu. In 886, Dong Chang promised Hang Prefecture to Qian Liu if he could destroy Liu Hanhong; Qian Liu did just that, capturing Liu Hanhong and taking over his territory. In 887, Qian Liu took over Hang Prefecture while Dong Chang went to Liu Hanhong's former base in Yue Prefecture.
Qian Liu began a series of massive construction projects in Hang Prefecture in 890. These include the fortification of city walls and the construction of a dam to control the Qiantang River. After the Tang dynasty collapsed in 907, Qian Liu remained independent throughout the ensuing Five Dynasties period, even though like before he continued to pay tributes to the imperial courts in Kaifeng Prefecture.
During the Wuyue kingdom, many Buddhist pagodas were built in Hang Prefecture. These include Baochu Pagoda, Liuhe Pagoda, and Leifeng Pagoda.

During the Song dynasty (978–1129)

The inventor Bi Sheng was active in Hang Prefecture, as was Shen Kuo.
In December 1120, rebel Fang La took Hang Prefecture and held it until March 1121.
In March 1129, Zhao Gou fled the north and arrived with his followers in Hang Prefecture.

Prefects

Tang dynasty

Note: From 742 to 758 Hang Prefecture was known as Yuhang.