Built in 200 BC at the request of Han Gaozu, under the supervision of his prime minister Xiao He, it served as the administrative centre and imperial residence of the Western Han Dynasty, as well as the Western Jin dynasty and several other regimes during the Northern and Southern Dynasties.
Dibangun pada 200 SM atas permintaan Han Gaozu, di bawah pengawasan perdana menteri Xiao He, itu berfungsi sebagai pusat administrasi dan kediaman kekaisaran Dinasti Han Barat, serta Dinasti Jin Barat dan beberapa rezim lain selama Dinasti Utara dan Selatan.