公安县
In 208, Liu Bei and Sun Quan combined forces and defeated Cao Cao at the decisive Battle of Red Cliffs. Liu Bei later took control of southern Jing Province, with his headquarters at Nan Commandery and Gong'an County. Zhang Fei was appointed General Who Attacks Barbarians () and Administrator () of Yidu Commandery. He was also enfeoffed as the Marquis of Xin Village (). He was later reassigned to serve as the Administrator of Nan Commandery.