The empire’s greatest king was Jayavarman VII (r. 1181 CE - 1215 CE). He expelled the Chams who took Angkor, restoring the realm from anarchy, and then invaded Champa (Cham’s kingdom). The scale of his construction programme was unprecedented: he built temples, monuments, highways, a hundred hospitals, and the spectacular Angkor Thom complex - a city within a city in Angkor. Jayavarman also expanded the empire’s territorial control to its zenith.