Taizu (1115–1123) After Wuyashu's death in 1113, his brother Aguda (posthumously
Emperor Taizu of Jin) was elected leader of the Jurchens by the tribal elders. The Liao continued to bestow upon the Wanyan leaders the title of military governor, but the Jurchens soon came into military conflict with the Liao. In late 1112,
Emperor Tianzuo of Liao embarked on a fishing expedition to the Huntong River (modern Songhua River) where the Jurchen tribes were expected to pay homage to the emperor. As a symbolic gesture of obeisance, the Jurchen chieftains were supposed to get up in turn and dance in the emperor's camp, but one of them, Aguda, refused. Even after being bidden three times, Aguda still refused to dance. Tianzuo wanted him executed for his act of defiance but the influential chancellor, Xiao Fengxian, dissuaded him from that course and belittled the harm Aguda could do. This would prove to be a fatal mistake as Aguda was elected ruler of the Jurchens in the following year. Aguda immediately began harassing the Liao for the return of Ashu, a Jurchen chieftain who opposed Wanyan hegemony and had taken refuge in Liao territory, and when his demands were refused, began building fortifications on the Liao border. In the late autumn of 1114 Aguda attacked Ningjiang. Underestimating the Jurchen threat, Tianzuo only sent some
Balhae detachments from the
Eastern Capital, which were defeated. Another force composed of Khitan and Kumo Xi troops led by Xiao Sixian, the brother of Xiao Fengxian, was also defeated on the Songhua. Despite Sixian's incompetence, he escaped punishment, leading to demoralization of Khitan generals. By the end of the year, several border prefectures had been taken by the Jurchens and some neighboring tribes had also joined them. In 1115 Tianzuo sent envoys to negotiate with the Jurchens, but Aguda had already declared himself emperor of the Jin "Gold" dynasty in the spring of 1115, and rejected the Liao letters because they did not address him by his new title. Aguda also took on a Chinese name (
Min "compassionate") and a Chinese reign title (
Shouguo "receiving statehood") in addition to all the regalia befitting of a Chinese emperor. The one responsible for this seems to be a man of Balhae origins, Yang Pu, who had received the
jinshi degree under the Liao as a young man. He advised Aguda not to be content with mere independence for the Jurchens but to aspire to emperorship based on Chinese traditions. Aguda continued to demand the return of Ashu and the withdraw of Liao troops from Huanglong, the major administrative center of the region. Huanglong fell to the Jin in late autumn. Tianzuo assembled a massive army west of the Songhua and crossed the river in the winter of 1115. His invasion was undermined by a plot to dethrone him and install his uncle, Prince Chun. The conspirators led by Yelü Zhangnu deserted the army and sent messengers informing Chun of their plan. Chun refused to take part in the coup and beheaded Zhangnu's messengers. The rebels then went about the countryside creating havoc until they were defeated by a small group of loyal Jurchens. Zhangnu was caught trying to escape to the Jin disguised as a messenger and was executed by being cut in half at the waist. More than 200 implicated nobles were executed and their families condemned to slavery. In early 1116 another rebellion occurred at the Eastern Capital when a Balhae officer named Gao Yongchang declared himself emperor of the Yuan dynasty and requested aid from the Jin. The Jin relief troops to Yuan easily repulsed the Liao troops but then turned on the Balhae rebels and killed Gao Yongchang. With the destruction of the Yuan dynasty, the entire region east of the
Liao River fell to the Jin. To ensure Chun's continued loyalty, he was made commander in chief of the Liao armies and entrusted with defense operations against the Jin. Chun proved to be an awful commander. His new army, composed of Balhae refugees, inflicted more damage on the civilian population than the enemies. When the Jin attacked Chunzhou on the Songhua in early 1117, the Liao army melted away, not even offering a token resistance. At the end of the year, the Jin forces crossed the Liao River, defeated Chun's army, and conquered several prefectures. After the Jin's initial conquests, a lull in military activity followed. The Song started negotiating an alliance with the Jin in 1117. At first, an envoy was sent to the Jin court under the pretext of buying horses, but in reality it was the start of negotiations between the two empires. During the period from 1117-1123, the Song sent envoys to the Jin court seven times while the Jin sent six embassies. Despite these diplomatic efforts, by the time a formal treaty was finalized in 1123, Aguda had realized that there was no need for an alliance with the Song who were too militarily weak to render any significant aid to Jin campaigns. The treaty ironed out in 1123 portrayed the Jin and Song as equals. Aguda was addressed as the "August Emperor of the great Jin" on equal terms with the Song emperor. The treaty specified that the Song was to pay the Jin annual payments previously granted to the Liao and in addition they would also pay compensation in return for lost revenue from the prefectures of the
Yan region that were to be returned to the Song. The treaty text, however, contains no specific instructions on how the prefectures were to be returned to the Song. Details on border delimitation were also left for future negotiations. The vagueness of the treaty points and the instability of the situation surrounding the
Alliance Conducted at Sea would usher in an era of warfare between the Jin and Song rather than one of peaceful co-existence. In 1118 Tianzuo initiated peace negotiations, but the Jin demands were so onerous, requesting half of the Liao empire in addition to payments of silk and silver, that they were impossible to meet. Aguda was unable to immediately continue military campaigns against the Liao due to stretched resources. In 1119 a rebellion against the Jin occurred at the Eastern Capital and had to be suppressed. This brief interlude was no less kind to the Liao, which was plagued by famine, local rebellions, and defections to the Jin. Hostilities renewed in the spring of 1120 when Aguda broke off negotiations. The Jin captured the
Supreme Capital in mid-1120 and stopped its advance to escape the summer heat. In the spring of 1121, Tianzuo's second wife, Lady Wen, conspired with her brother in law, General Yelü Yudu, to depose the emperor and enthrone her son. The plot was uncovered by Xiao Fengxian, whose sister, Lady Yuan, also hoped to have her son succeed. Lady Wen was forced to commit suicide but Yudu escaped and defected to the Jin. He was allowed to remain in command of his troops and in the winter of 1121–22, he led Jin forces to capture the
Central Capital. Leaving Prince Chun in charge of the
Southern Capital, Tianzuo embarked on a prolonged flight from the Jin, passing through
Juyong Pass to the
Western Capital. Shortly afterward, Tianzuo grew tired of Xiao Fengxian's manipulations, which had caused the death of his son, and had him commit suicide. Tianzuo then fled to the
Yin Mountains where he tried to recruit fresh troops from local tribes. Following his trail, the Jin took the Western Capital in the spring of 1122. The
Tanguts, fearing an invasion of their border, sent troops in support of Tianzuo and blocked the Jurchen advance. Soon after Aguda arrived, he defeated a Khitan-Tangut force near the Xia border, and turned back east to take the Southern Capital, where Prince Chun had been declared the new Liao emperor (
Northern Liao). Only three months after becoming emperor, Chun died, leaving his widowed empress in charge. In the late autumn of 1122, her commanders Guo Yaoshi and Gao Feng defected with their troops to the
Song dynasty. They led Song troops in an attack on the Southern Capital, but even in the Liao's withered state, the Song army was still unable to overcome Khitan defenses and failed to take the city. In the winter, Aguda took the Southern Capital, and the remaining Khitans fled in two groups to the west. One group led by Xiao Gan fled to Western Xia where they set up a short lived Xi dynasty that lasted only five months before Gan died at the hands of his own troops. The other group, led by
Yelü Dashi, joined Tianzuo at the Xia border. In the early summer of 1123, Dashi was captured by the Jin and forced to lead them to Tianzuo's camp, where the entire imperial family except for Tianzuo and one son were captured. Aguda did not live to see the final defeat of the Liao. He died a few months after the treaty with the Song was concluded in 1123.
Taizong (1123–1135) After Aguda died in 1123, he was succeeded by his younger brother Wuqimai (posthumously
Emperor Taizong of Jin). Wuqimai oversaw the final defeat of the Liao dynasty and continued to expand the Jin dynasty's territory by waging war on the Song. Emperor Tianzuo of Liao sought refuge with
Emperor Chongzong of Western Xia, who while initially receptive, changed his mind after warnings from the Jurchens and declared himself a vassal of Jin in 1124. Tianzuo fled further north into the steppes where he traded his clothes for food from the
Khongirad. In spite of all these setbacks, Tianzuo still held onto the delusion of retaking the Western and Southern Capitals, and attacked nearby prefectures. Yelü Dashi, who had rejoined Tianzuo, grew tired of his behavior and left for the west. Tianzuo was captured in early 1125 and taken to the Jin court where he held the title of "king of the seashore" (). According to the
History of Liao, Tianzuo died at the age of 54 in 1128. After the defeat of the Liao dynasty and the submission of the
Western Xia as a vassal, Wuqimai strengthened border defenses against
Goryeo and quelled unrest among the Balhae districts. The Jin then focused its attention on the Song frontier. Prior to Aguda's death, the former Liao military governor of
Pingzhou named Zhang Jue killed a Liao commander of
Yan who had defected to the Jin. Zhang Jue declared his allegiance to the Song, who reappointed him to his former office. A Jin army attacked Pingzhou, forcing Zhang Jue to escape to Yan, where another former Liao commander, Guo Yaoshi, had defected to the Song. The Jin pressured the Song into returning Zhang Jue, whom they considered a criminal. The Song acquiesced to their demands, executed Zhang Jue, and sent his head to the Jin. Realizing that the Song were unwilling to stand up to the Jin, Guo Yaoshi declared his allegiance to the Jin, who reinstated him as the governor of Yan. The Jin decided to invade the Song in the fall of 1125. Within a few months, they had occupied most of
Shanxi and
Hebei. In early 1126, the Jin army crossed the
Yellow River and laid siege to the Song capital of
Kaifeng. Due to considerations for material losses that the Jin army would have incurred from a prolonged siege, the Jin commander,
Wanyan Zongwang (Wolibu, second son of Aguda), withdrew with heavy concessions from the Song. The Song ceded the three prefectures of
Taiyuan,
Hejian, and Zhongshan, representing the majority of Shanxi and Hebei's territory. The Song was also forced to pay a large indemnity in silver, silk, and coins worth 180 years of annual payments. The prince of Kang, a younger brother of
Emperor Qinzong, was sent to Zongwang's camp along with the high ranking official
Zhang Bangchang as hostages. After a week of negotiations, the siege of Kaifeng was lifted on 10 February 1126. A mistake that the Song had made during this invasion was the removal of the defensive forest that was planted along the Song-Liao border. Because of the removal of this landscape barrier, in 1126/27, the Jin army marched quickly across the North China Plain to Bianjing (present-day
Kaifeng). Conflict between the Jin and the Song recommenced almost immediately after the Jin army withdrew. It is uncertain what caused the second campaign but the Jin may have believed that the Song were weak enough to be completely defeated. The Jin accused the Song of inciting former Liao generals to attack the Jin, breaking the agreed upon truce. The Jin forces crossed the Yellow River in the winter of 1126-27 and laid siege to Kaifeng again. After heavy fighting, the Jin army succeeded in breaking Kaifeng's defenses and entered the city on 9 January 1127. The Song emperors Qinzong and
Huizong were captured along with a host courtiers and family members in what is known as the
Jingkang Incident. Huizong and Qinzong were demoted to commoners, forced to pay ritual obeisance to Aguda at his mausoleum, wear mourning dress, and were eventually enfeoffed as marquises with the titles of Muddle Virtue and Doubly Muddled. Huizong died in 1135 in Wuguocheng, a town near the
Songhua River. Six Song princesses were married into the Wanyan clan. The Jin treated their Song royal hostages better over time in order to use them as a bargaining tool against the Southern Song. However this ended when Qinzong died in 1156, depriving the Jin of their primary hostage. The prince of Kang was enthroned as the new Song emperor (posthumously
Emperor Gaozong of Song) and tried to organize resistance in regions that had not yet fallen to the Jin. Due to anti-Jin resistance groups in numerous parts of northern China and the deaths of several Jin military leaders, including Zongwang, in the aftermath of the second campaign, the Jin were unable to immediately continue their conquests into Song territory. The Jin created the puppet state of
Great Chu in the new territory they had conquered and placed Zhang Bangchang on the throne in
Jiankang as their puppet ruler. The Jurchens hoped that by placing an ethnically Han ruler on the throne they could attract Han defectors from the Song. However Zhang was killed or forced to commit suicide on the orders of the Song dynasty soon after. The failure of the Song to defend Kaifeng in 1127 did not result in a cessation of conflict or the surrender of the Song. The Song court fled to Jiankang where they had removed the Jin puppet kingdom ruled by Zhang Bangchang and then abandoned it for
Shaoxing. The Jin set up another nominally Han-ruled puppet state called Great Qi under the emperorship of Liu Yu, a
jinshi degree holder who had defected to the Jin in 1128. At first Great Qi was based at
Daming in Hebei, but by 1132, Liu Yu had moved to Kaifeng. Liu Yu worked hard to establish a functioning administration and to revive northern China's stagnant economy but its population was forced to pay heavy taxes as well as perform compulsory military service. The ensuing battles between the Jin-Qi forces and the Song saw the first use of the
fire lance, the predecessor of the
hand cannon, at the
Siege of De'an by the Song defenders in 1132. Great Qi's troops fought alongside the Jurchens and even succeeded in beating Song forces a few times, notably capturing
Xiangyang in 1135. But this victory was short lived and the Song offensive led by
Yue Fei in 1134-5 ended up recapturing much of the lost Song territory. This military defeat by the Song damaged Liu Yu's standing in the eyes of the Jurchens and brought the value of his position into question. Liu Yu's patron, Wuqimai, died in 1135 and was succeeded by
Hela, a grandson of
Emperor Taizu of Jin.
Xizong (1135–1150) After
Emperor Taizong of Jin died in 1135, he was succeeded by Hela (posthumously
Emperor Xizong of Jin), a grandson of
Emperor Taizu of Jin. Hela was much less favorable towards Liu Yu than his predecessor. He demoted Liu Yu from emperor of Great Qi to the rank of prince and abolished the state of Great Qi in 1137. Liu Yu lived out the rest of his life in supervised retirement at
Linhuang. A peace treaty with the Song was finalized on 11 October 1142. There was a preliminary peace in 1139 when the Jin returned
Shaanxi and
Henan to the Song but this was short lived. In 1140, the Jin retook Shaanxi and Henan and sent troops south of the Yellow River. The Southern Song court, based in
Hangzhou since 1138, sought to appease the Jin by eliminating the revanchist faction. Due to the machinations of
Qin Hui, who has the ears of the emperor, the Song general who had experienced the most success in fighting back against the Jin,
Yue Fei, was put to death in 1141. In October 1141, the Jin general
Wanyan Zongbi (Jin Wuzhu), the fourth son of Aguda, offered to make the
Huai River the border between the two states. The Song agreed to the terms of the
Treaty of Shaoxing, which stipulated that the entire course of the Huai River would become the new border,
Tangzhou and
Dengzhou would be ceded to the Jin, 250,000 ounces of silver and silk would be paid annually to the Jin as tribute, no garrisons could be constructed on the side of the Song border, and the Song would not pursue criminals north of the border but would surrender criminals to the Jin. In return, the Jin withdrew their armies and promised to return the coffin of Huizong and the empresses. The treaty was couched in terms of vassalage with the Jin addressed as "Your superior state" investing
Emperor Gaozong of Song as ruler of the Song. With the finalization of the treaty, the Jin had fully conquered northern China and the
Central Plains. The political and economic center started shifting south as more Jurchens settling in northern China and larger numbers of
Han Chinese were integrated into the state. After taking over northern China, the Jin became increasingly
sinicised. Over the span of 20 years, the new Jurchen ruling class constituted around half of a larger pattern of migration southward into northern China. There, many Jurchens were granted land, which was then organised around a social structure based on hereditary military units: a ('company') was a unit consisting of 300 households, and groups of 7–10 were further organised into ('battalions'). When Xizong was enthroned, he was only a boy of 16 years, and did not take part in much of the diplomatic and military activities that occurred immediately after his accession. Xizong left most of these affairs to the imperial clan members, who held the highest military and civilian offices. Despite his absence from the administration of the empire, the Jin remained relatively stable throughout his reign and did not face many urgent crises. Like the Song before them, the Jin sought to appease the northern nomads like the
Mongols rather than to rule them directly. In 1146-7, the Jin invested
Khabul Khan with the title of assisting state ruler of the Mongols. A Song record states that the Jin originally tried to use military force to defeat the Mongols but failed. Khabul was once invited to the Jin court. During the visit, Khabul tweaked the emperor's beard in a drunken outburst. While the emperor was initially willing to overlook this incident, he later changed his mind and ordered for Khabul to be captured. The Jin pursuers failed in the effort and were killed in an ambush. The Jin settled for sending elite troops to occupy a few strategic points before returning. After peaceful relations were established with the Mongols, the Jin sent them generous gifts as appeasement. The Jin also tried to gain the submission of the
Qara Khitai (Western Liao) offshoot of the Liao dynasty at the same time, however this effort came to nothing when the envoy was killed on his way west. The same envoy made contact with the
Uyghurs of
Qocho in 1144, but they remained aloof from the Jin and only sent local products as homage to the Jin court on an irregular basis. Xizong adopted many Han Chinese cultural traditions and studied the classics and wrote Chinese poetry. Despite the increasing adoption of Han Chinese culture, the Jurchens continued to occupy the top echelons of Jin leadership positions. Later in his life, Xizong became an alcoholic, developed a persecution mania, and executed many officials for criticizing him. He also had Jurchen leaders who opposed him murdered, even those in the Wanyan clan. On 9 January 1150, he was murdered by a cabal of relatives and nobles, who made his cousin
Wanyan Liang the next Jin emperor. Because of the brutality of both his domestic and foreign policy, Wanyan Liang was posthumously demoted from the position of emperor. Historians have consequently referred to him by his
posthumous name "Prince of Hailing".
Wanyan Liang (1150–1161) Having usurped the throne,
Wanyan Liang embarked on a program of legitimization to ensure his rule as an emperor of China. In the process he became known as a monster, according to both Song and Jin sources, who was far worse than his predecessor. He normalized the killing of his opponents, including those among the Wanyan royal clan, particularly the descendants of Taizong. In total, he executed 155 princes. After killing them, Liang transferred the widows and concubines of the murdered princes to his own harem. In later centuries, he became the subject of pornography where he was portrayed as an anti-hero and his exploits described with gusto. Liang's vision of himself as a Chinese emperor extended to his ambition to control all of China, including the territory of the Song dynasty. To fulfil his dream of becoming the ruler of all China, Wanyan attacked the Song in 1161. In 1158, he accused the Song of breaking the Shaoxing Treaty by making illicit purchases of horses at the border markets. Preparations for an all out invasion of the Song started in 1159. He dispatched the minister of war to inspect the border with the
Western Xia to make sure no border unrest could upset the campaign against the Song. Horses were requisitioned in great numbers and a total of 560,000 animals were reported to have been utilized for the war effort. A large store of weaponry was gathered in the Central Capital. A mandatory draft for the Han population was implemented, which was met with local resistance and rebellions in the south, particularly on the border with the Song dynasty. However, recruitment efforts continued until the summer of 1161. Anticipating combat with the Song navy and the need for river transport, Liang recruited 30,000 sailors and confiscated a great number of barges for his army. In the summer of 1161, Wanyan Liang personally led his army from the Central Capital to the Southern Capital and killed all the surviving male descendants of the
Yelü clan of the Liao dynasty and the
House of Zhao of the Song dynasty. Over 130 persons were killed during the purge. Liang's purge of the Liao royal clan caused the Khitans to rebel, and 10,000 soldiers were forced to be diverted to quell the rebellion in the northeast. Liang also killed
Empress Tudan for criticizing his campaign against the Song. Another rebellion broke out in the former Supreme Capital at Huining Prefecture led by Liang's cousin, the soon-to-be crowned
Wanyan Yong. In the early 1180s, Shizong instituted a restructuring of 200 ''meng'an
units to remove tax abuses and help Jurchens. Communal farming was encouraged. The Jin Empire prospered and had a large surplus of grain in reserve. Poor Jurchen families in the southern Routes (Daming and Shandong) Battalion and Company households tried to live the lifestyle of wealthy Jurchen families and avoid doing farming work by selling their own Jurchen daughters into slavery and renting their land to Han tenants. The wealthy Jurchens feasted and drank and wore damask and silk. The History of Jin'' says that Shizong took note and attempted to halt this behavior in 1181. Shizong's reign was remembered as a time of comparative peace and prosperity, and the emperor himself was compared to the mythological rulers
Yao and
Shun.
Zhangzong (1189–1208) By the time Shizong died in 1189, the crown prince and heir apparent
Wanyan Yungong had already passed, so his grandson Madage (posthumously
Emperor Zhangzong of Jin) succeeded him. The new emperor did not have as strong of a personality as his grandfather but was still able to maintain the unity of the Wanyan clan and the Jurchen noblemen. His reign saw the continued adoption of Chinese culture by the Jurchens and Khitans despite prohibitions against such behavior. Despite brewing trouble to the north with the
rise of Genghis Khan, the main source of disaster during Zhangzong's reign was the
1194 Yellow River flood which inundated vast regions and formed two new courses. The flooding displaced farmers, disrupted communication, and fomented unrest among the population, causing the decline of the dynasty. In addition to the flooding, there were droughts and locusts plaguing the regions bordering the Song.
Shandong in particular was heavily affected by natural disasters. At the same time, the Jin had to contend with the rising Mongols, forcing them to construct large scale fortifications along the northwestern border after 1192. The Jin also spent a significant portion of their resources on sending punitive expeditions into Mongol territory during the Yellow River flood. To raise more funds, the Jin government resorted to confiscating land from Han owners accused of tax evasion and redistributing the land to reliable Jurchens, causing friction between the two populations. In 1195, the Jin attacked the
Khongirad in conjunction with the
Tatars but fallout over the distribution of loot caused the Jin to attack the Tatars in the following year. A Jin vanguard force led by Wanyan Anguo held off the Tatars on the
Kherlen River for three days before reinforcements arrived and defeated them. Conflict with the Khongirad reignited on 4 February 1196 when they invaded Jin territory and defeated a Jin detachment. Meanwhile the Tatars fleeing Jin forces were defeated by
Toghrul and
Temüjin. Toghrul and Temüjin met with Jin officials who awarded them with titles. One of the officials, a Khitan named Yelü Ahai, later joined Temüjin along with his brother Tuhua in 1203. The defeated Tatar Zuxu submitted to the Jin and rebelled again before submitting again in 1198. Zuxu soon died afterward. In the south, the Song court was well aware of the Jin's difficulties. Song embassies traveled to the Central Capital twice a year and passed through the disaster struck regions. Song military leaders started instigating conflict on the
Huai River border starting from 1204. The Song chancellor
Han Tuozhou encouraged Song raids and military intrusions into Jin territory. By the summer of 1206, Han had decided it was time to formally declare war on the Jin. The deputy minister of war, Ye Shi, was tasked with drafting the declaration of war. However, he refused due to his opposition to the war. Ye Shi was demoted and replaced by Li Bi, who was a part of Han's revanchist party. The formal declaration of war was officially announced on 14 June 1206. The Song deployed 160,000 men along the Huai River while the Jin mobilized 135,000 men to defend the border in December 1206. The Song offensive failed to make any significant headway against Jin defenses. Aside from capturing the relatively undefended border town of Sizhou on the northern bank of the Huai, the Song forces were completely ineffective at taking Jin defended positions. The campaign was badly organized and beset by heavy rains, which flooded their camp and destroyed the hay for their horses. Provisions also did not arrive on time so that soldiers suffered from hunger. Due to the harsh weather, the soldiers of the Song army starting deserting in the tens of thousands. By the autumn of 1206, the momentum had reversed and the Jin armies were able to take several Song prefectural towns, penetrating deep into Song territory. Rather than the large scale defection of Han people that the Song had hoped for, the Song governor-general of Shu (
Sichuan), Wu Xi, defected to the Jin in December 1206. This would have been a major loss due to the number of soldiers that he commanded (70,000), but a group of loyal officers murdered Wu Xi on 29 March 1207 and returned Shu to Song control. Having narrowly averted disaster, the war continued with no major decisive engagements after April 1207. Han Tuozhou was dismissed from the Song court and murdered on 27 November 1207. Peace negotiations during the second half of 1207 and in 1208 were expedited by pressures on both sides. The Jin were worried about trouble to their north with the Mongols and the revanchist faction in the Song court had lost power. The Jin mainly blamed the conflict on Han, whom they regarded as a "war criminal". In July 1208, the Jin announced an end to the war and a peace treaty with the Song was finalized on 2 November 1208. Annual payments by the Song to the Jin were raised by 50,000 ounces of silver and 50,000 bolts of textiles. Han Tuozhou's head was delivered to the Jin in a box and preserved with lacquer. The head was placed on display in the Jin imperial family's ancestral temple. Zhangzong died on 29 December 1208, having successfully overseen peaceful relations restored with the Song. During his reign, he sought to convert the Jin state into something more similar to the Tang and Song dynasties. In 1202, Zhangzong promulgated the
Taihe Code to unify existing legislations. In the same year, he formally claimed the power of the Earth element on the
wuxing cycle. This symbolic act formally placed the Jin as the successor of the Song and signaled to the world that the Jin considered itself the legitimate ruler of All Under Heaven.
Wanyan Yongji (1208–1213) When Emperor Zhangzong died in 1208, he was succeeded by Shizong's seventh son,
Wanyan Yongji (originally Wanyan Yunji). Wanyan Yongji was born to a Balhae concubine and is not recorded in history as an emperor due to his successor,
Emperor Xuanzong of Jin, reverting his status to that of a prince posthumously, therefore he is known as "Prince Shao of Wei" or "Prince Weishao". Yongji's succession was uncertain due to the seniority of Zhangzong's elder brother (Xuanzong), who should have succeeded Zhangzong according to tradition. However a court clique enthroned Yongji instead. By the time Yongji came to power, the Jin had constructed a long line of fortifications from modern
Qiqihar to
Hulun Lake connecting with the previous
Great Wall of China. However the units stationed along the fortifications were of Khitan and Kumo Xi extraction rather than Jurchen, making their worth of questionable value. It is uncertain why the
Mongols under
Genghis Khan invaded the Jin dynasty and numerous reasons are given, including the earlier killing of
Ambaghai Khan (predecessor of Genghis) and Yongji personally insulting Genghis. Genghis broke off tributary relations with the Jin in 1210 and decided to invade them when he received news that the Jin were suffering from a severe famine. In the spring of 1211, the Mongols attacked the Jin in two directions. The eastern army was led by Genghis. The Mongol forces led by
Jochi,
Ögedei, and
Chagatai easily overcame the border fortifications of the Jin and took
Juyong Pass. Jin reinforcements were easily defeated by the Mongols, who ravaged the countryside while the western army blocked Jin auxiliary troops in
Shanxi from coming to the aid of their frontline forces. The Mongols withdrew in the winter. The Mongols invaded the Jin again in 1212. In February, the Mongols took
Huanzhou and besieged
Zhengzhou. Yongji sent out an army led by Heshilie Jiujin, the commander of the Jurchen and Khitan cavalry, and Duji Qianjianu and Hu Sha, who led the Han Chinese infantry, against the Mongol invasion. The Jin army was said to have been several hundred thousand strong. The Khitan commanders advocated for a surprise attack, but Heshilie Jiujin preferred to advance as a whole with the entire army. He also sent a letter to Genghis denouncing him, alerting the Mongols to the Jin advance. Although heavily outnumbered, Mongol cavalry led by
Muqali charged the Jin forces, discomforting their ranks. The Mongol main army then followed up with an attack on the Jin forces, chasing them for before defeating their rearguard at Huihebao Fort. The Mongol victory at the
Battle of Yehuling has been attributed to the overly cautious Jurchen commander, the disaffection of the Khitan commanders who resented Jurchen control, and the fighting qualities of the Mongol cavalry. In the spring of 1212, the Mongols took Juyong Pass again and penetrated deep into Jin territory, devastating parts of
Hebei,
Shandong, and
Shanxi. On 5 January 1213, Mongol forces led by
Jebe took the
Eastern Capital. Genghis defeated another Jin army led by Zhuhu Gaoqi in the summer of 1213. On 31 March 1214, Genghis laid siege to the
Central Capital. During the Mongol invasion, Wanyan Yongji was killed in a coup by Heshilie Hushahu, who had been commander of the Western Capital, which had already fallen to the Mongols. One of the reasons Hushahu killed Yongji in the summer of 1213 was that he feared repercussions for his failure to defend the areas under his command from the Mongols. Hushahu enthroned Wudubu (posthumously
Emperor Xuanzong of Jin), the elder brother of Zhangzong and nephew of Yongji.
Xuanzong (1213–1224) The events of
Wanyan Yongji's death and the accession of Wudubu (posthumously
Emperor Xuanzong of Jin) happened while the Mongols were advancing toward the
Central Capital. Repeated droughts had severely impacted the Jin dynasty's ability to wage war and muster troops. In a last ditch effort, the Jin court removed all limitations on its population's ability to take office, lifting former restrictions on the Khitans and Han. However this came to naught and the Jin started negotiations with the Mongols in the spring of 1214. The Mongols agreed to withdraw in return for the Jin submitting as a tributary and sending a daughter (Princess Qiguo) of the former emperor in marriage to the khan. Despite the momentary peace, Xuanzong judged the situation in the north to be too precarious to remain at the Central Capital and relocated the court to the
Southern Capital, which was located in the center of the agriculturally developed Chinese plains and defended to the north by the
Yellow River. Genghis saw the relocation as casus belli for the continuation of the war. By December 1214,
Muqali's Mongol forces had taken the northeastern portion of the Jin dynasty while the Central Capital fell to the Mongols on 31 May 1215. The Khitan and Han subjects of the Jin dynasty defected to the Mongols, who placed the Khitan Shimo Ming'an and Jabar Khoja in charge of the Central Capital. At the same time the Jin and
Western Xia came into conflict in the west while the Song refused to pay the sum stipulated in the 1208 treaty. The Mongols created a Han army out of defecting Jin troops, and another army out of defected Song troops called the "Newly Submitted Army" (). Two Han leaders,
Shi Tianze and , and the Khitan
Xiao Zhala defected and commanded the three tumens in the Mongol army. In
Shandong, a rebellion led by Yang Anguo, a man descended from a line of boot and leather workers, plundered the country towns in the east. In the summer of 1214, Yang proclaimed himself emperor. Despite the ongoing Mongol invasion, the Jin mobilized an army to put down the rebellion. The Jin forces led by Pusan Anchen had destroyed most of Yang's strongholds by late autumn. Yang was captured and killed in early 1215. Another two rebel leaders were defeated in the anti-rebel campaign, but general unrest in Shandong continued to incite rebellions. The rebels coalesced into a group known as the Red Coast in 1215. The Jin were unable to defeat them and in 1217, another Yellow River flood prevented them from taking action in Shandong. The Song tried to use the Red Coats to their advantage by offering their leaders official and material assistance. In 1218, the Song appointed the rebel leader Li Quan as commanding prefect of Shandong. In 1225, the Mongols invaded Shandong, resulting in the surrender of Li Quan in 1227. Li Quan joined the Mongols in attacking the Song in 1230 but the invasion ended in failure and Li Quan was killed on 18 February 1231. Li Quan's adopted son, Li Tan, inherited his father's position and defected to the Song in 1262, for which
Kublai Khan had him executed. In the northeast, the Khitan prince Yelü Liuge, who had been serving the Jin as a military commander, rebelled and seized a portion of
Liaodong in 1211. Two years later he proclaimed himself the ruler of the
Liao. Yelü Liuge was ousted by his younger brother,
Yelü Sibu, and requested help from Genghis Khan against the usurper. Sibu was also usurped by one of his ministers, Yelü Qinu. The rebel Khitan state was destroyed by the Mongols in 1233. In 1214, the Jin assigned
Puxian Wannu to suppress the rebellion. However Puxian Wannu was defeated and he himself rebelled in 1215. Based in the Eastern Capital (
Liaoyang), Puxian Wannu declared the state of
Dazhen ("Great Jurchen") and overran most of the former northeastern territory of the Jin dynasty, including the former
Supreme Capital on the
Songhua River. In the spring of 1216, Khitans fleeing from the Jin overran Puxian Wannu's territory and held the area from
Dengzhou to Poju (
Uiju). In 1216, the Mongols accompanied by Yelü Liuge chased the Khitan rebels to the Goryeo borders and launched an attack on Dafuying, located on an island in the lower course of the
Yalu River. The Khitans requested help from Goryeo but when the request was denied, the Khitans crossed the Yalu with an estimated 90,000 men and overran the Goryeo frontier. The Khitan rebels spent 1217 pillaging southwards down the
Korean peninsula before several defeats at the hand of Korean General
Kim Ch'wiryŏ forced them to retreat. They turned their attention back toward the territory of Puxian Wannu. Puxian Wannu had already been defeated by the Mongols and submitted, but when the Mongol forces withdrew, he moved further east toward the Yalu and in early 1217, declared the state of
Dongxia ("Eastern Xia"). Pressured by the Jin, he fled eastward again to the lower reaches of the
Tumen River. It was also there that the Khitans fled from Goryeo. The Khitans were able to gather reinforcements and then invaded Goryeo again in the fall of 1217. The Khitan invasion was halted after they took the city of
Kangdong, where Goryeo forces managed to contain them. In the winter of 1218, 10,000 Mongol troops commanded by Hazhen and Zhala accompanied by 20,000 Eastern Jurchen troops commanded by Wanyan Ziyuan entered Goryeo from the northeast. They defeated Khitan forces in the cities of Hwaju, Maengju, Sunju, and Tŏkchu. The Mongol-Jurchen advance was stopped by a heavy snowfall that made the roads impassable. Hazhen sent a letter carried by the translator Zhao Zhongxiang to Cho Ch'ung, the Goryeo commander in charge of the northwest, requesting provisions and demanding the two nations enter an Elder-Younger Brother relationship after the subjugation of the Khitans. Cho Ch'ung and Kim Ch'wiryŏ were in favor of meeting the Mongol demands but the Goryeo court was more apprehensive. Ultimately they agreed to provide for the Mongol forces at the urging of Cho. One thousand bushels of rice and one thousand picked troops were sent to the Mongols. They arrived in time to witness the Mongols assault the Khitans in the walled-city of Taeju. The reinforcements were received well by the Mongols. In early 1219, preparations were underway to take the last Khitan stronghold in Kangdong. Troops from Goryeo joined the Mongol-Jurchen force. An estimated 50,000 Khitans surrendered and opened the gates. After the fall of Kangdong, Goryeo sent a delegation to Zhala's camp as well as gifts to the Mongol commanders. Mongol envoys met with
Gojong of Goryeo (reigned 1213–1259) and handed him a document without the usual formalities. Cho accompanied the Mongol and Jurchen commanders to the Yalu where the Mongols seized a large number of Goryeo horses and left. The Mongols started collecting tribute from Goryeo and left behind 41 subordinates in Poju to learn the Korean language. Conditions in northwestern Goryeo were poor following the Khitan raids. In the autumn of 1219, military commanders Han Sun and Ta Chi rebelled in Poju and defected to Puxian Wannu, who augmented their forces with 10,000 Eastern Jurchens. They tried to make an alliance with the Jin commander Yugexia. Yugexia invited them to a feast and killed them. Their heads were sent to
Kaesong in early 1220 for which Yugexia was rewarded greatly by the Goryeo court. However Yugexia repeatedly sacked Goryeo's border cities for several years afterward. Troops sent to Poju to restore order slew so many that another rebellion occurred four months later that required 5,000 troops to put down. Khitans who had fled into the mountains continued to raid Goryeo garrisons. Yugexia later contributed 5,000 soldiers to the defense of Goryeo against the Mongols in 1231. In 1224, Puxian Wannu declared independence from the Mongols and sent envoys to Goryeo to establish an alliance. Goryeo rejected the offer and over the next four years, Eastern Jurchens raided Goryeo. An attempt at peace negotiations was made in 1229 due to deteriorating relations between the Mongols and Goryeo. When the Mongols ordered Goryeo to attack Puxian Wannu, Goryeo did not comply. Puxian Wannu was defeated by the Mongols in 1233 shortly before the Jin dynasty was conquered in 1234. By the end of Xuanzong's reign in 1224, The Mongol invasions and rebellions had reduced the Jin dynasty to a small state surrounding the
Yellow River. The Jin tried to make up for their losses in the north by invading the Song in 1217 but failed to make much headway. The Western Xia also attacked the Jin in the west but also failed to make much headway against Jin defenses. A series of border battles over towns around the
Huai River region ensued that resulted in some small gains for the Jin but no diplomatic concessions from the Song. Xuanzong died in 1223 and was succeeded by his third son,
Ningjiasu.
Aizong (1224–1234) Ningjiasu, posthumously
Emperor Aizong of Jin, succeeded his father,
Emperor Xuanzong of Jin, in 1224. His posthumous name, Aizong, means "Pitiable Ancestor", representing his role as the last emperor of the Jin dynasty. Upon Aizong's accession, the Jin had lost all territory north of the Yellow River. Aizong made peace with the Song in 1224 and formally renounced their claim to annual payments from the Song. A peace treaty with the Western Xia was concluded in 1225 acknowledging that the Western Xia was no longer a vassal of the Jin. When Genghis Khan died in 1227, Aizong tried to appease the Mongols with an embassy offering their condolences, but the Mongols refused to receive their envoys. In 1230 and 1231,
Ögedei Khan launched another invasion of the Jin dynasty, attacking them from two directions under the personal command of Ögedei and Genghis' youngest son
Tolui. The combined army, led by
Subutai, crossed the Yellow River on 28 January 1232 and reached Bianjing (
Kaifeng) on 6 February. The
Siege of Kaifeng (1232) began on 8 April 1232. There were peace talks into the summer of 1232 but negotiations ceased after the Jin murdered the Mongol envoy Tang Qing in his hostel as well as some 30 other people. Bianjing suffered from an epidemic in the summer of 1232 and ran out of emergency food supplies, causing starvation. Despite these setbacks and disorderly conditions within the city, the siege is well recorded due to the eyewitness account of a Han intellectual who recorded these events in his memoirs. As a result, the siege became historically significant for its descriptions of gunpowder weapons. The Mongols deployed gunpowder weapons along with other more conventional siege techniques such as building stockades, watchtowers, trenches, guardhouses, and forcing Chinese captives to haul supplies and fill moats. The Jin scholar Liu Qi recounts in his memoir, "the attack against the city walls grew increasingly intense, and bombs rained down as advanced." The Jin defenders also deployed gunpowder bombs as well as
fire arrows launched using a type of early solid-propellant rocket. Of the bombs, Liu Qi writes, "From within the walls the defenders responded with a gunpowder bomb called the heaven-shaking-thunder bomb (). Whenever the troops encountered one, several men at a time would be turned into ashes." The
History of Jin provides a description of the bom: "The heaven-shaking-thunder bomb is an iron vessel filled with gunpowder. When lighted with fire and shot off, it goes off like a crash of thunder that can be heard for a hundred li , burning an expanse of land more than half a mu , and the fire can even penetrate iron armor." Heaven-shaking-thunder bombs, also known as
thunder crash bombs, had been used in 1231 by a Jin general to destroy a Mongol warship. A Jin general named Wanyan Eke had lost the defense of Hezhong to the Mongols and fled on ships with 3,000 of his men. The Mongols pursued them with their ships until the Jin broke through by using thunder crash bombs that caused flashes and flames. However during the siege the Mongols responded by protecting themselves with elaborate screens of thick cowhide. This was effective enough for workers to get right up to the walls to undermine their foundations and excavate protective niches. Jin defenders countered by tying iron cords and attaching them to heaven-shaking-thunder bombs, which were lowered down the walls until they reached the place where the miners worked. The protective leather screens were unable to withstand the explosion, and were penetrated, killing the excavators. Another weapon the Jin employed was an improved re-usable version of the fire lance called the flying fire lance. The
History of Jin provides a detailed description: "To make the lance, use chi-huang paper, sixteen layers of it for the tube, and make it a bit longer than two feet. Stuff it with willow charcoal, iron fragments, magnet ends, sulfur, white arsenic , and other ingredients, and put a fuse to the end. Each troop has hanging on him a little iron pot to keep fire , and when it's time to do battle, the flames shoot out the front of the lance more than ten feet, and when the gunpowder is depleted, the tube isn't destroyed." While Mongol soldiers typically held a view of disdain toward most Jin weapons, apparently they greatly feared the flying fire lance and heaven-shaking-thunder bomb. Bianjing managed to hold out for a year before Aizong fled in the winter of 1232-33. The city was left under the command of Cui Li, who surrendered on 29 May. In some cases Jin troops still fought with success, scoring isolated victories such as when a Jin commander led 450 fire lancers against a Mongol encampment, which was "completely routed, and three thousand five hundred were drowned." Aizong arrived at Guide (modern
Shangqiu) on 26 February 1233 along with his entourage of loyal Jurchen and Han officials. He then moved to
Caizhou on 3 August. Aizong's situation was so dire that he sent envoys to the Song asking for food. Caizhou came under siege by the Mongols in December 1233. Aizong tried to escape but failed, after which he abdicated to a distant relative, Wanyan Chenglin (posthumously
Emperor Mo of Jin), and killed himself. Even after Aizong committed suicide in 1234, one loyalist gathered all the metal he could find in the city he was defending, even gold and silver, and made explosives to lob against the Mongols, but the momentum of the Mongol Empire could not be stopped. Caizhou fell to the Mongols on 9 February 1234 and the last Jin emperor died in the street fighting. == Government ==