 During Emperor Fei's reign and the subsequent reigns of Gao Shaoyi's uncles Emperor Xiaozhao and Emperor Wucheng, Gao Shaoyi was gradually promoted through the official ranks, and, during Emperor Wucheng's reign, he was the mayor of the capital Yecheng.He was said to like drinking with his associates, and he was accused of having his eunuchs kill his teacher Ren Fangrong (任方榮).Emperor Wucheng caned him 200 times, and then sent him to Emperor Wenxuan's wife Empress Li Zu'e, who further caned him 100 times.