 After he had become sufficiently familiar to Yang Yue, he revealed to Yang Yue that it was Yang Guang's intent to enter into an alliance with Yang Su—persuading Yang Yue that given that Yang Su did not have a warm relationship with Yang Yong, his family would be in danger if Yang Yong were to succeed Emperor Wen.Yang Yue, in turn, persuaded Yang Su, who subsequently persuaded Emperor Wen and Emperor Wen's wife Empress Dugu that Yang Yong should be deposed.Emperor Wen and Empress Dugu agreed, and in 600 Emperor Wen deposed Yang Yong and replaced him with Yang Guang.