 Only after the intercession of Empress Yu's father Yu Jing () was Yang Aofei returned to Yuan Yu.Meanwhile, in 508, Yuan Yu himself was punished by Emperor Xuanwu for corruption.He was caned 50 times and demoted to the governorship of Ji Province (冀州, modern central Hebei).