Yang Kan (496–549), courtesy name Zuxin, was a military general of the Northern Wei and Liang during the Northern and Southern dynasties period. During the final years of the Northern Wei, he began a rebellion and led his followers to join the Liang, fulfilling his family's wish of returning to the southlands. Yang Kan then became a general of Liang, participating in a few northern expeditions but never given important roles. In 548, when Jiankang came under heavy siege from the rebel, Hou Jing, he staunchly defended the capital before dying of illness.

Outside of his official duty, Yang Kan garnered a reputation in the south for his sumptuous lifestyle, love for music and martial prowess. He possessed remarkable physical strength, with one story stating that he chopped down a tree using only a spear.

Background Yang Kan's family originally hailed from Liangfu County (梁父縣; in present-day Xintai, Shandong), Taishan Commandery. He was a descendant of Yang Xu, the Administrator of Nanyang during the Eastern Han dynasty. His grandfather, Yang Gui (羊規) was the Magistrate of Rencheng County under the Liu Song dynasty, but he later surrendered to the Northern Wei, becoming the Administrator of Yanmen and receiving the title of Viscount of Juping. Yang Kan was the sixth son of Yang Zhi (羊祉), the Inspector of Yan province and General Who Guards the Army.

From a young age, Yang Kan had a very imposing figure, as he reportedly stood around "seven chi and eight cun" (approx. 1.9m or 6'2) and was capable of wielding a bow that weighed 10 shi. He was also fond of reading literature and history, particularly the Art of War and the Zuo Zhuan. Before the age of 20, he followed his father to Liang province, and through his military deeds, he was appointed as a Gentleman of the Masters of Writing.History of the Southern Dynasties, vol.63

In 527, the Qiang rebel in Qin province, Mozhe Niansheng rebelled and proclaimed himself as emperor. He sent his brother, Mozhe Tiansheng (莫折天生) to capture Qi province and then invade Yong province. Yang Kan, now a lieutenant, followed the general, Xiao Baoyin to fight the rebels. During the campaign, he shot Mozhe Tiansheng dead with a single arrow, causing his troops to scatter. His efforts earned him the positions of General Who Attacks the East, Administrator of Taishan and Branch Censorate of the Eastern Circuits, as well as the fiefly title of Marquis of Juping.Book of Liang, vol.39

Rebellion against Northern Wei Though his family had served the Wei for three generations, Yang Zhi longed to return his family's services to the southern dynasties and often reminded his sons to go south when they have the chance.

In 528, while Yang Kan was serving in Taishan, the official, Xu He (徐紇) fled to him after the Wei commander, Erzhu Rong brought his army to purge the imperial court in Luoyang. Xu He encouraged Yang Kan to rebel, and remembering his father's wishes, he gathered his followers to leave for the Liang dynasty in the south. However, his cousin, the Inspector of Yan province, Yang Dun (羊敦), remained loyal to Wei and mounted a defense in his city. Yang Kan led 30,000 soldiers to besiege Yang Dun, but was unsuccessful, so he built more than a dozen forts at Xiaqiu (瑕丘; in present-day Yanzhou, Shandong) and requested reinforcements from the Liang. Emperor Wu of Liang received his envoy and sent Yang Yaren (羊鴉仁) and Wang Bian (王弁) to retrieve him while Li Yuanlu (李元履) transported their weapons and provisions.

Yang Kan's rebellion coincided with the uprising of Xing Gao, who rebelled in the neighbouring province of Qing. The Wei court initially attempted to appease the two rebel leaders by offering them offices and titles, but they refused. Thus, the court decided to suppress them through force by sending the general, Yu Hui with an army of 100,000 with Gao Huan and Erzhu Yangdu (爾朱陽都) acting as reinforcements. The Wei army first besieged Yang and cut them off from the Liang army. Yang's forces fought to the point that their camps were completely depleted of arrows. In November or December, Yang brought his troops south, fighting the enemy as they advanced. By the time they reached Zhakou (渣口; west of present-day Shuyang County, Jiangsu), they still had over 10,000 soldiers and 2,000 horses. However, as they were about to cross the river and enter Liang territory, many of the soldiers became homesick and spent the entire night singing mournful songs. Understanding their grief, Yang allowed those who wanted to return home to turn back to the north. The soldiers bid him farewell before they dispersed.Zizhi Tongjian, vol.152

Early service under Liang In 529, Yang Kan arrived at the Liang capital of Jiankang, where Emperor Wu granted him tally and appointed him Regular Mounted Attendant, Chief Controller of the military expedition to Xiaqiu, General Who Stabilizes the North and Inspector of Xu province while his brothers were also given roles as provincial inspectors. He was soon appointed Chief Controller of the Northern Expeditions and stationed at Dunri city (頓日城) to support the general, Chen Qingzhi in his northern expeditions. Later, he was made General of Cloud Banner and Inspector of the two provinces of Qing and Ji.

In 532, Emperor Wu intended to send Yuan Faseng, a member of the ruling clan of Northern Wei who defected to Liang, north to establish a puppet regime as the King of Eastern Wei. As the two were old friends, Yuan requested to the court that Yang Kan follow him back to the north, which was granted. Before they departed, Emperor Wu summoned Yang to discuss the strategy for the campaign. Yang presented his plans, but then said, "Since returning to the court, my heart has always been to serve the people, but I cannot travel with Yuan Faseng. Though the northerners think that I am from Wu, the southerners still see me as a northern barbarian. For me to follow Faseng is like sending northerners to fight northerners. Not only does this go against my family's long-cherished wishes, but I fear the northern tribes will look down upon the Han Chinese." However, Emperor Wu insisted that he go north and appointed him a Marshal.

In July or August, Yang Kan arrived at Guanzhu (官竹; northeast of present-day Bozhou, Anhui) and received news that the main commander of the northern expedition, Yuan Shu, was defeated and captured. He then led his troops in retreat and soon resigned from the military, becoming a Palace Attendant in the court. In 533, his peerage was elevated to the Marquis of Gaochang County.

In 534, Yang Kan was appointed General of Cloud Banner and Administrator of Jin'an. At the time, the Minyue region was plagued by rebellions, and many of the local governors were unable to quell them. When Yang arrived, he suppressed the rebels and killed their leaders, Chen Cheng (陳稱), Wu Man (吳滿) and others. For the rest of his tenure, the region remained at peace and no one dared to rebel. Soon, he was appointed the Left Defense Commander for the Crown Prince.

For the next decade, Yang Kan held a series of different offices; in 540, he was appointed as Right Chief Clerk to the Minister Over the Masses. In 542, he was made Director of the Justice Department of the Imperial Secretariat. Then, in 543, he was granted tally and assigned to General of Strong Authority and Inspector of Heng province.

The Hou Jing Disturbance

Battle of Hanshan In 547, Yang Kan was summoned back to the capital to serve as a Palace Attendant. At the time, the Eastern Wei general, Hou Jing rebelled in the Henan and called upon the Liang to support him. Emperor Wu issued another northern expedition, and Yang was made Champion General and tasked with building a weir at Hanshan (寒山; in present-day Xuzhou, Jiangsu). After completing the weir, he advised his commander, Xiao Yuanming to flood the enemy city of Pengcheng, but was ignored. When Eastern Wei reinforcements led by Murong Shaozong arrived, Yang Kan repeatedly urged Xiao to attack him, but was rejected each time. In the end, Yang brought his soldiers to camp at the newly built weir. In November or December, the main Liang force was defeated, so Yang ordered his men into battle formation and slowly withdrew.Zizhi Tongjian, vol.160

Siege of Jiankang When Yang Kan returned in 548, he was once again appointed Director of the Justice Department of the Imperial Secretariat. Meanwhile, Hou Jing was defeated in Henan and formally surrendered to the Liang. However, he soon rebelled and captured Liyang. When asked by Emperor Wu for countermeasures, Yang said, "Hou Jing had long been planning to rebel and is making haste towards the capital. We should swiftly occupy Caishi and order the Prince of Shaoling (Xiao Lun (蕭綸)) to attack Shouchun. Hou Jing will be unable to advance, and if he retreats, he will be without a nest, and his forces will soon dissipate." The officials in Jiankang did not believe that Hou Jing would attack their city. Instead, they ordered Yang to lead more than 1,000 cavalrymen to camp at Wangguo Gate (望國門).Zizhi Tongjian, vol.161

As Yang Kan predicted, Hou Jing continued south towards Jiankang and reached Xinlin (新林; southwest of present-day Nanjing, Jiangsu). When Hou Jing rebelled, the lands of Liang had been at peace for nearly five decades that even many of the officials and scholars in the countrysides do not have experience in war. By then, many of the old generals in the capital were dead, while the new generals were all stationed outside. The only generals in Jiankang aside from Yang Kan were Liu Jin (柳津), who was old and sickly, and Wei An (韋黯), who was considered cowardly and incompetent. Therefore, the imperial court sent people to fetch Yang Kan and ask him to assist the Crown Prince, Xiao Daqi to command the capital's army.

With Hou Jing's arrival coming as a surprise, there was great disorder in the capital as many people rushed in to take refuge. Yang Kan divided the city into areas of defence and had the royal family participate in the fight. He also issued for any soldiers caught stealing weapons from the armoury to be executed, thus restoring order in the city. When Hou Jing approached the capital, the people were frightened, but Yang falsely claimed that he had received an arrow with a letter stating that reinforcements were coming, which slightly calmed them down. The rebels set fire to the Eastern Ye Gate (東掖門), but Yang put it out with water and killed several of the rebels with his bow, driving them back. Emperor Wu promoted Yang Kan to a Palace Attendant and Military Adviser-General. He also wanted to gift him a large sum of gold, silver and silk for him to reward his soldiers, but Yang refused, using his own wealth to award them instead.

The rebels then built a "pointed wooden donkey" to attack the city, which the defenders were unable to counter it. Yang Kan made a pheasant tail torch, installing an iron arrowhead doused in oil and fired it at the wooden donkey, burning it completely. The rebels also built earthen mounds on the east and west sides of the city, but Yang sent people to dig tunnels below the mounds, causing them to collapse. Other than that, the rebels made a tower cart that was around ten zhang tall, intending to shoot arrows into the city from it. However, Yang observed that the tower was too high and that the city moat was still shallow, so they will not need to deal with it. As he anticipated, when the cart started moving, it immediately fell.