Soon after Cao Pi declared himself Emperor of Wei, he mobilized a large force to attack Wu. As the commander in chief of the Wu forces, Xu Sheng constructed a fake wall along the banks of the river (that served as a border) which stretched over 100 li. Cao Pi, upon seeing the wall, immediately withdrew his forces. Thus, Xu Sheng repelled the entire Wei invasion without a single casualty. Xu Sheng died a while after.