9th - 10th century

The next major settlement was formed as a city of five kilometres square that was enclosed within a double embankment and centred on Phnom Bakheng, one of the three peaks that dominated the plain. The temple was built by King Yasovarman, the son of Indravarman I, on top of the hill - its base was hewn from the bedrock. This king also built temples on the other two peaks - Phnom Krom and Phnom Bok.
In 921 the capital moved briefly to Koh Ker, a hundred kilometres to the north east.