 At first, they were defeated in Qianshuiyuan and were forced back to Chang'an.Gaozhi () was annexed.After Xue Ju's death, his son Xue Rengao succeeded to the throne and continued to attack the Tang army.