 While Yuwen was still Emperor Yang's guard commander when Emperor Yang was crown prince, Li Hun (李渾) the son of the senior noble Li Mu (李穆) the Duke of Shen, who had died in 586, had become angry at his nephew Li Yun (李筠), who had inherited the title of Duke of Shen, and he had Li Yun assassinated, while framing his cousin Li Jutan (李瞿曇) for the murder and had Li Jutan executed.He then bribed Yuwen, his brother-in-law, with a promise that if he were allowed to inherit the ducal title, he would give Yuwen half of the stipend received from the fief.Yuwen persuaded the Crown Prince to in turn persuade Emperor Wen to agree, so Li Hun inherited the title.