《旧唐书·列传·卷十六》
高祖武德八年，庆州总管杨文干叛乱，供词牵连到太子李建成的东宫，罪责追究到杜淹和王王圭、韦挺等人身上，一起流放到西南边境的隽州。
武德八年，庆州总管杨文干作乱，辞连东宫，归罪于淹及王珪、韦挺等，并流于越巂。
In the eighth year of Emperor Gaozu's Wude era, Qingzhou governor Yang Wengan rebelled, and his testimony implicated Crown Prince Li Jiancheng's East Palace. The punishment was extended to Du Yan, Wang Wanggui, Wei Ting, and others, who were all exiled to Junzhou in the southwestern border.