He briefly served Zhou Yu and befriended Lu Ji, Gu Shao and Quan Cong before joining Liu Bei in 209 after the latter became the provincial governor. Under the recommendation of both Lu Su and Zhuge Liang, Liu Bei appointed him to Assistant Officer and promoted him to Military Adviser Generals of the Household. He advised Liu Bei to take over Yi Province accompanied him on on his campaign (covering present-day Sichuan and Chongqing) against the warlord Liu Zhang, but was killed by a stray arrow during a battle at Luo County (north of present-day Guanghan, Sichuan) in 214.