corruption, and had him executed according to the law. His actions stunned everyone in Jiangxia Commandery. Pan Jun was later reassigned to Xiangxiang County to serve as the county's Prefect (). He gained a reputation for good governance during his tenure. Service under Liu Bei Around late 209, when the warlord Liu Bei became the Governor of Jing Province, he appointed Pan Jun to serve as an Assistant Officer in the Headquarters Office (). Between 212 and 214, when Liu Bei was away on a campaign to seize control of Yi Province (covering present-day Sichuan and Chongqing) from its governor Liu Zhang, he left Pan Jun behind to assist his general Guan Yu in guarding his territories in Jing Province and overseeing daily affairs. Between November 219 and February 220, Liu Bei's ally Sun Quan broke the Sun–Liu alliance and ordered his general Lü Meng to lead a stealth invasion of Liu Bei's territories in Jing Province while Guan Yu was away at the Battle of Fancheng. After failing to take Fancheng, Guan Yu returned to Jing Province only to find out that Lü Meng had conquered his key bases in Gong'an County and Nan Commandery (南郡; around present-day Jingzhou, Hubei). While attempting to retreat to Yi Province to join Liu Bei, Guan Yu was captured in an ambush and executed by Sun Quan's forces. Service under Sun Quan Joining Sun Quan After Sun Quan conquered Liu Bei's territories in Jing Province, most of the officials there agreed to surrender and serve under him. Pan Jun, however, claimed that he was ill, stayed at home and refused to get out of bed. Sun Quan then sent his servants to Pan Jun's residence and carry his bed over with him lying on it. As Pan Jun lay face down, crying and sobbing in a disconsolate manner, Sun Quan comforted him and told him: "Chengming, in the past, Guan Dingfu was a captive from Ruo, yet King Wu appointed him as a military commander; Peng Zhongshuang was a captive from Shen, yet King Wen appointed him as prime minister. Although these two famous men were initially captives from other states, the kings of Chu still employed them and gave them the opportunity to leave their names in history as great statesmen of Chu. Are you not willing to surrender and join me because you think I am not as magnanimous as these