Indravarman I was followed by his son Yasovarman I (reigned 889 – 915), who established a new capital, Yasodharapura – the first city of Angkor.
The city's central temple was built on Phnom Bakheng, a hill which rises around 60 m above the plain on which Angkor sits.
Under Yasovarman I the East Baray was also created, a massive water reservoir of 7.1 by 1.7 km.
Only with Rajendravarman II (reigned 944 – 968) was the royal palace returned to Yasodharapura.
In the following years he extended his territory and eventually, later in his reign, he moved from Mahendraparvata and established his new capital of Hariharalaya near the modern Cambodian town of Rolous.
The successors of Jayavarman II continually extended the territory of Kambuja.
Indravarman I (reigned 877 – 889) managed to expand the kingdom without wars, and he began extensive building projects, thanks to the wealth gained through trade and agriculture.