《资治通鉴·唐纪·唐纪六十六》
于是返回交趾城，从东罗门进入，南诏蛮军没用作防备，元惟德等人纵兵厮杀，杀死南诏蛮军两千余人。
遂还向城，入东罗门。蛮不为备；惟德等纵兵杀蛮二千馀人。
And so they returned to Jiaozhi city and entered through the east gate, where the Nanzhao barbarians were not expecting them. Yuan Weide and his men charged in and killed over 2,000 Nanzhao barbarians.