 During the subsequent reign of Emperor Jiemin (531-532), he served under the official Yuan Zigong (源子恭), the governor of Jing Province (荊州, modern southern Henan) as a commandery governor.It was at this time he became friends with fellow general Dugu Xin, who was also a commandery governor in Jing Province.In the subsequent reign of Emperor Xiaowu (532-535), Wei was given the task of defending Jing Province, although he was not then governor.