After passing the
imperial examination in 1015, Pang Ji gradually moved his way up the official ranks. He successfully took control in Yanzhou (in today's
Shaanxi province) after
Western Xia troops took a few cities from
Song. Pang Ji is known for instilling discipline in the troops; violations of the code were met with severe physical punishments including deaths. After he left the
frontier in 1045 he held some posts in the capital before being made the
chancellor in 1051. In 1053, a minor official Huangfu Yuan () from Qizhou (in today's
Jinan) bribed Pang Ji's nephew Zhao Qingkuang () in order to get a promotion. After
whistleblowers disclosed the scandal, Pang Ji ordered Zhao arrested and tried at the
Kaifeng court, where Zhao was sentenced to
banishment. Zhao died along the way, and Han Jiang () from the Kaifeng court accused Pang Ji of ordering Zhao killed to cover up. As a result, Pang Ji was stripped of the
chancellor position and sent to posts away from the capital. In 1060
Emperor Renzong summoned him back to
Kaifeng but at the age of 72, he was too old to take any position. ==Legends==