Yasovarman was one of the great Angkorian kings. His greatest achievement was to move the capital from Hariharalaya to Yashodharapura where it remained there for 600 years. It was at this new capital where all of the great and famous religious monuments were built, e.g. the Angkor Wat. There were many reasons for the move. The old capital was crowded with temples built by the previous kings. Thus, the decision was religious: In order for a new king to prosper, he must build his own temple and when he died it must become his mausoleum. Second, the new capital was closer to the Siem Reap River and is halfway between the Kulen hills and the Tonlé Sap. By moving the capital closer to the sources of water the king could reap many benefits provided by both rivers.