In 222, when Cao Pi visited Wan, either because the city wasn't celebratory enough, or because a local market had failed to produce a type of medicine Cao Pi had requested, the Governor of Nanyang, Yang Jun, under whose authority the city fell, was arrested. Sima Yi, among other officials, was on good terms with Yang Jun, whom he had previously met during his youth and considered capable and intelligent, and therefore pleaded on his behalf; knocking his forehead on the ground until it started bleeding, but Cao Pi dismissed the appeal. Yang Jun, admitting that he was at fault, committed suicide. Sima Yi was greatly saddened at such a loss.