 Work seems to have ended on the king's death, with some of the bas-reliefs unfinished.In 1177 Angkor was sacked by the Chams, the traditional enemies of the Khmer.Thereafter the empire was restored by a new king, Jayavarman VII, who established a new capital and state temple (Angkor Thom and the Bayon respectively) a few kilometres to the north.