Shu Han

The Kingdom of Shu Han, also known as Shu or Shu Han, were a Chinese kingdom that lasted from 221 AD to 263 AD. They were a kingdom in the mountainous region of Western China with its capital at Cheng Du. Having endured the collapse of the old Han Dynasty, loyalists under Liu Bei dreamt of restoring the former glory of the Han.

Background
Liu Bei was a virtuous man whose dream was to restore the Han Dynasty to its former glory. He founded the Kingdom of Shu after conquering Yi Province from his cousin Liu Zhang in 214 AD, and made Chengdu their capital. Liu Bei was a loyalist to the Han Dynasty, which was founded by his ancestor Liu Bang, the creator of the Western Han.

Liu Bei's Forces fought primarily against Cao Cao, who claimed to be Prime Minister for Liu Xie, but also fought with his ally Sun Quan, who was squabbling over Jing Province with his general Guan Yu. In 219 AD, the refusal of Guan Yu to leave Jing as promised led to his death at the Battle of Fan Castle that year. In response, Liu Bei led an army of 100,000 troops into the Kingdom of Wu, but was defeated at the Battle of Yi Ling three years later. After Yi Ling, he declared himself "Emperor of Shu" when Cao Pi deposed Emperor Liu Xie and proclaimed himself "Emperor of Wei", and soon after he declared independence, Sun Quan of Wu followed suit.

History
Liu Bei left most of his power to Zhuge Liang after Yiling, and died in 223 AD in Baidi Castle, and gave Zhuge Liang the right to take power if his son Liu Chan proved weak. However, Zhuge Liang served him loyally until his death. His first move was to secure Shu's southern borders from Meng Huo's barbarians. In the 225 Nanman Campaign his generals broke the spirits of the Nanman people to defeat them, and eventually, Meng Huo surrendered. With the surrender of Meng Huo, Zhuge Liang could focus northwards. In 228 AD, two years after the death of Cao Pi, he invaded Wei, and gained Jiang Wei as a general after his defection at the Tian River. Jiang Wei and Zhuge Liang managed to save Ma Su's force from destruction at Jieting, and in 229 AD, they captured Chen Cang Castle from Sima Yi's Wei army. In 230 AD, Wei was deprived of Zhang He, their finest field commander, after twin defeats at Mt. Qi and Mumen, but these victories for Shu were negated when Zhuge Liang died during the final battle at the Wuzhang Plains in 234 AD; he did not die in battle, but of illness. Jiang Wei took over and won the battle, but retreated to Shu and started to rebuild the empire. Shu went into decline after Zhuge's death, and Liu Chan relied on the unwise minister Huang Hao as support for his actions. From 249 to 262 AD, Jiang Wei launched a series of failed invasions of Wei, and in 263 AD, Shu Han was conquered by Wei's general Deng Ai.