Phnom Bakheng is a temple built on a hill of the same name, where the first city at Angkor was established. This gives its state temple on Phnom Bakheng special significance. It was to here that Yasovarman I moved his capital from Roluos. His capital city, called Yasodharapura, was larger than Angkor Thom, which came later, and was centred around the hill of Phnom Bakheng.
The design of the temple of Bakheng borrowed elements from the Bakong which was built 20 years earlier. Both are step pyramids of ascending square terraces. We do know that work on the temple began at the end of the 9th century. The lingga in the central sanctuary was dedicated around 907AD, while construction work continued. The temple was called Yasodharesvara, after its patron deity, which means Lord who Bears Glory. In 928 the temple was abandoned, only to be briefly rehabilitated in 968 by Jayavarman V.