History of Beijing
The city of Beijing has a long and rich history that dates back over 3,000 years.
Prior to the unification of China by the First Emperor in 221 BC, Beijing had been for centuries the capital of the ancient states of Ji and Yan. It was a provincial center in the earliest unified empires of China, Qin and Han. The northern border of ancient China ran close to the present city of Beijing, and northern nomadic tribes frequently broke in from across the border. Thus, the area that was to become Beijing emerged as an important strategic and a local political centre. During the first millennia of imperial rule, Beijing was a provincial city in northern China. Its stature grew in the 10th to the 13th centuries when the nomadic Khitan and forest-dwelling Jurchen peoples from beyond the Great Wall expanded southward and made the city a capital of their dynasties, the Liao and Jin. When Kublai Khan made Dadu the capital of the Mongol-led Yuan dynasty, all of China was ruled from Beijing for the first time. From 1279 onward, with the exception of two interludes from 1368 to 1420 and 1928 to 1949, Beijing would remain as China's capital, serving as the seat of power for the Ming dynasty, the Manchu-led Qing dynasty, the early Republic of China and now the People's Republic of China.
Prehistory
The earliest remains of hominid habitation in Beijing Municipality were found in the caves of Dragon Bone Hill near the village of Zhoukoudian in Fangshan District, where the Homo erectus Peking Man lived from 770,000 to 230,000 years ago. Paleolithic homo sapiens also lived in the caves from about 27,000 to 10,000 years ago.In 1996, over 2,000 Stone Age tools and bone fragments were discovered at a construction site at Wangfujing in the heart of downtown Beijing in Dongcheng District. The artifacts date to 24,000 to 25,000 years ago and are preserved in the Wangfujing Paleolithic Museum in the lower level of the New Oriental Plaza mall.
Archaeologists have discovered over 40 neolithic settlements and burial sites throughout the municipality. The most notable include Zhuannian of Huairou District; Donghulin of Mentougou District; Shangzhai and Beiniantou of Pinggu District; Zhenjiangying of Fangshan; and Xueshan of Changping District. These sites indicate that farming was widespread in the area 6,000 to 7,000 years ago. Painted pottery and carved jade of the Shangzhai and Xueshan Cultures resemble those of the Hongshan Culture further to the north.
Pre-imperial history
The earliest events of Beijing's history are shrouded in legend and myth. The epic Battle of Banquan, which according to Sima Qian's Records of the Grand Historian, occurred in the 26th century BC, may have taken place near the Upper and Lower Banquan Villages of Yanqing County on the northwestern edge of Beijing Municipality. The triumph of the Yellow Emperor over the Yan Emperor at Banquan united the two Emperors' tribes and gave rise to the Huaxia or Chinese nation, which then defeated Chiyou and the Nine Li tribes in the Battle of Zhuolu, possibly at Zhuolu, west of Yanqing in Hebei Province. This victory opened North China to settlement by the descendants of the Yan and Yellow Emperors.The Yellow Emperor is said to have founded the settlement of Youling in or near Zhuolu. The sage-king Yao founded a town called Youdu in the Hebei-Beijing region about 4,000 years ago. You or Youzhou later became one of the historical names for Beijing. Yuzishan, in Shandongzhuang Village of Pinggu County, in the northeastern fringe of Beijing Municipality, is one of several places in China claiming to host the Yellow Emperor's Tomb. Yuzishan's association with Yellow Emperor dates back at least 1,300 years when Tang poets Chen Zi'ang and Li Bai mentioned the tomb in their poems about Youzhou.
The first event in Beijing's history with archaeological support dates to the 11th century BC when the Zhou dynasty absorbed the Shang dynasty. According to Sima Qian, King Wu of Zhou, in the 11th year of his reign, deposed the last Shang king and conferred titles to nobles within his domain including the rulers of the city states Ji and Yan. According to Confucius, King Wu of Zhou was so eager to establish his legitimacy that before dismounting his chariot, he named the descendants of the Yellow Emperor as the rulers of Ji. He then named his kinsman, Shi, the Duke of Shao, as the vassal of Yan. Shi was preoccupied with other matters and dispatched his eldest son to take the position. This son, Ke, is considered the founder of the state of Yan. Bronzeware inscriptions have confirmed these events described in Sima Qian's history. Although the dates in Sima Qian's history before 841 BC have not yet been definitely matched to the Gregorian Calendar, the Beijing Government uses 1045BC as the official estimate of the date of this occasion.
It is believed that the seat of Ji, called the City of Ji or Jicheng, was located in the southwestern part of present-day urban Beijing, just south of Guang'anmen in Xicheng and Fengtai Districts. Several historical accounts mention a "Hill of Ji" northwest of the city, which would correspond to the large mound at the White Cloud Abbey outside Xibianmen, about north of Guang'anmen. South and west of Guang'anmen, roof tiles used for palace construction and dense concentrations of wells lined with ceramic ring tiles have been discovered.
The capital of Yan was located about to the south of Ji, in the village of Dongjialin in Liulihe Township of Fangshan District, where a large walled settlement and over 200 tombs of nobility have been unearthed. Among the most significant artifacts from the Liulihe Site is the three-legged bronze Jin Ding whose inscriptions recount the journey of Jin, who was sent by Ji Ke to deliver a batch of food and drink to his father, Ji Shi, in the Zhou capital. The father was thrilled and awarded Jin cowry shells to pay for the creation of an honorific ding to remember the event. The inscription thus confirms the appointment of King Zhou's kin to Yan and the location of Yan's capital.
Both Yan and Ji were situated along an important north–south trade route along the eastern flank of the Taihang Mountains from the Central Plain to the northern steppes. Ji, located just north of the Yongding River, was a convenient rest stop for trade caravans. Here, the route to the northwest through the mountain passes diverged from the road to the Northeast. Ji also had a steady water supply from the nearby Lotus Pool, which still exists south of the Beijing West railway station. The Liulihe settlement relied on the more seasonal flow of the Liuli River. Some time during the Western Zhou or early Eastern Zhou dynasty, Yan conquered Ji and moved its capital to Ji, which continued to be called Jicheng or the City of Ji until the 2nd century AD. Due to its historical association with the State of Yan, the city of Beijing is also known as Yanjing or the "Yan Capital."
The State of Yan continued to expand until it became one of the seven major powers during the Warring States period. It stretched from the Yellow River to the Yalu. Like subsequent rulers of Beijing, the Yan also faced the threat of invasions by the Shanrong steppe nomads, and built walled fortifications across its northern frontier. Remnants of the Yan walls in Changping County date to 283 BC. They predate Beijing's better known Ming Great Wall by more than 1,500 years.
In 226 BC, the City of Ji fell to the invading State of Qin and the State of Yan was forced to move its capital to Liaodong. The Qin eventually ended Yan in 222 BC. The following year, the ruler of Qin, having conquered all the other states, declared himself to be the First Emperor.
Early imperial history
During the first one thousand years of Chinese imperial history, Beijing was a provincial city on the northern periphery of China proper. Dynasties with capitals in the Central and Guanzhong Plains used the city to manage trade and military relations with nomadic peoples of the north and northeast.The Qin dynasty built a highly centralized state and divided the country into 48 commanderies, two of which are located in present-day Beijing. The City of Ji became the seat of Guangyang Commandery. To the north, in present-day Miyun County, was Yuyang Commandery. The Qin removed defensive barriers dividing the Warring States, including the southern wall of the Yan, which separated the Beijing Plain from the Central Plain, and built a national roadway network. Ji served as the junction for the roads connecting the Central Plain with Mongolia and Manchuria. The First Emperor visited Ji in 215 BC and, to protect the frontier from the Xiongnu, had the Great Wall built in Yuyang Commandery and fortified Juyong Pass.
The Han dynasty, which followed the short-lived Qin in 206 BC, initially restored some local autonomy. Liu Bang, the founding emperor of the Han dynasty, recognized a number of regional kingdoms including Yan, ruled by Zang Tu, who had joined the revolt that overthrew the Qin, seized the City of Ji and sided with Liu Bang in the war with Xiang Yu for supremacy. But Zang rebelled and was executed, and Liu granted the kingdom to his childhood friend Lu Wan. Later, Liu became mistrustful of Lu, and the latter fled the City of Ji to join the Xiongnu tribes of the steppes. Liu Bang's eighth son took control of Yan, which was subsequently ruled by lineal princes of the imperial family, from the City of Ji, then known as Yan Commandery, and the Principality of Guangyang. In the early Western Han, the four counties of Guangyang Principality had 20,740 households and an estimated population of 70,685.
File:Tanzhe Si.jpg|thumb|left|The Tanzhe Temple in Western Hills, founded in 307 in the Jin dynasty, is the oldest Buddhist temple in Beijing.
In 106 BC, under Emperor Wu, the country was organized into 13 prefectural-provinces, or zhou, and the City of Ji served as the provincial capital for Youzhou, the territories of which extended from what is now central Hebei Province to the Korean Peninsula. The tomb of Liu Jian, the Prince of Guangyang who ruled Youzhou from 73 to 45 BC was discovered in Fengtai District in 1974 and has been preserved in the Dabaotai Western Han Dynasty Mausoleum. In 1999, another royal tomb was found in Laoshan in Shijingshan District but the prince formerly buried there has not been identified.
During the early Eastern Han dynasty in 57 AD, the five counties of Guangyang Commandery had 44,550 households and an estimated 280,600 residents. By population density, Guangyang ranked in the top 20 among the 105 commanderies nationally. In the late Eastern Han, the Yellow Turban Rebellion erupted in Hebei in 184 AD and briefly seized Youzhou. The court relied on regional militaries to put down the rebellion and Youzhou was controlled successively by warlords Liu Yu, Gongsun Zan, Yuan Shao and Cao Cao. In 194 AD, Yuan Shao captured Ji from Gongsun Zan with the help of Wuhuan and Xianbei allies from the steppes. Cao Cao defeated Yuan Shao in 200 AD and the Wuhuan in 207 AD to pacify the north.
During the Three Kingdoms period, the Kingdom of Wei founded by Cao Cao's son, Cao Pi, controlled ten of the Han dynasty's prefectures including Youzhou and its capital Ji. The Wei court instituted offices in Youzhou to manage relations with the Wuhuan and Xianbei. To help sustain the troops garrisoned in Youzhou, the governor in 250 AD built the Lilingyan, an irrigation system that greatly improved agricultural output in the plains around Ji.
Ji was demoted to a mere county seat in the Western Jin dynasty, which made neighboring Zhuo County, in present-day Hebei Province, the prefectural capital of Youzhou. In the early 4th century, the Western Jin dynasty was overthrown by steppe peoples who had settled in northern China and established a series of mostly short-lived kingdoms. During the so-called Sixteen Kingdoms period, Beijing, still known as Ji, was controlled successively by the Di-led Former Qin, the Jie-led Later Zhao, and the Xianbei-led Former Yan and Later Yan. In 352, Prince Murong Jun, moved the capital of the Former Yan Kingdom from Manchuria to Ji, making the city a sovereign capital for the first time in over 500 years. Five years later, the Former Yan's capital was moved further south to Ye in southern Hebei. In 397 AD, the Northern Wei, another Xianbei regime, united northern China and restored Ji as the capital of Youzhou. While this designation continued through the remainder of the Northern Dynasties, the Eastern Wei, Northern Qi and Northern Zhou, the size of its jurisdiction shrank drastically, as the number of zhou in China was massively increased in this period, from 21 in the early 4th century to more than 200 in the late 6th century.
In 446, the Northern Wei built a Great Wall from Juyong Pass west to Shanxi to protect its capital, Datong, from the Rouran. In 553–56, the Northern Qi extended this Great Wall eastward to the Bohai Sea to defend against the Göktürks, who raided Youzhou in 564 and 578. Centuries of warfare severely depopulated northern China. During the Eastern Wei, Youzhou, Anzhou and East Yanzhou had a combined 4,600 households and about 170,000 residents.
File:Fayuan Temple1.JPG|thumb|right|The Fayuan Temple in Xicheng District was first established by Emperor Taizong of the Tang dynasty in 645
After the Sui dynasty reunited China in 589 AD, Youzhou was renamed Zhuojun or the Zhuo Commandery, which was administered from Ji. In 609, Zhuo Commandery and neighboring Anle Commandery had a combined 91,658 households and an estimated population of 458,000. Emperor Yang of Sui built a network of canals from the Central Plain to Zhuojun to carry troops and food for the massive military campaigns against Goguryeo. Though the campaigns proved to be ruinous, they were continued by the Tang dynasty. In 645 AD, the Emperor Taizong of the Tang dynasty founded the Minzhong Temple in the southeast of Ji to remember the war dead from the Korean Campaigns. The Fayuan Temple, now within Xicheng District, is one of the oldest temples in urban Beijing.
The Tang dynasty reduced the size of a prefecture, as a unit of administration administrative division, from a province to a commandery and renamed Zhuojun back to Youzhou, which was one of over 300 Tang Prefectures. With the creation of a separate prefecture called Jizhou in present-day Tianjin in 730, the name Ji was transplanted from Beijing to Tianjin, where a Ji County still exists today. In Beijing, the City of Ji gradually became known as Youzhou. During the prosperous early Tang, Youzhou's ten counties tripled in size from 21,098 households and about 102,079 residents to 67,242 households and 371,312 residents in 742. In 742, Youzhou was renamed Fanyang Commandery, but reverted to Youzhou in 762.
File:Guyaju ruins, Yanqing county, Beijing.JPG|thumb|left|The mysterious Guyaju cave dwellings in Yanqing County are believed to be abode of the Xi people during the Tang and Five Dynasties period.
To guard against barbarian invasions, the imperial court created six frontier military commands in 711 AD, and Youzhou became the headquarters of the Youzhou Jiedushi, who was tasked to monitor the Khitan and Xi nomads just north of present-day Hebei Province. In 755, the Jiedushi An Lushan launched a rebellion from Youzhou, and declared himself the emperor of the Great Yan dynasty. He went on to conquer Luoyang and Xi'an with a multi-ethnic army of Han, Tongluo, Xi, Khitan and Shiwei troops. After An's death, Shi Siming continued the rebellion from Youzhou. Shi Siming's tomb was discovered in Wangzuo Village in Fengtai District in 1966 and excavated in 1981. The An–Shi Rebellion lasted eight years and severely weakened the Tang dynasty. For the next 150 years, military governors ruled Youzhou autonomously.
When the Tang dynasty was overthrown in 907 by the Later Liang dynasty, Youzhou remained independent and its military governor Liu Shouguang declared himself emperor of the short-lived Jie Yan dynasty in 911. This regime was ended in 913 by the ethnic Shatuo general Li Cunxu who went on to found the Later Tang dynasty in 923. The disintegration of the Tang dynasty into the Five Dynasties and Ten Kingdoms paved the way for Khitan expansion into northern China, which prompted the rise of Beijing in Chinese history.
The nomadic Khitan people were united under Yelü Abaoji, who founded the Liao dynasty in 916 and, from 917 to 928, tried seven times to take Youzhou. In 936, a rift in the Later Tang court allowed Yelü Abaoji to help another ethnic Shatuo general Shi Jingtang found the third of the Five Dynasties, the Later Jin. Shi Jingtang then ceded sixteen prefectures across the northern frontier including Youzhou, Shunzhou, Tanzhou and Ruzhou to the Liao dynasty.