 The temple was reconstructed on the basis of several elements ( about 4 @,@ 000 ) of the temple which were randomly lying around at the site . This restoration was done by a Chinese team between 2000 and 2009 under a restoration project sponsored by the People 's Republic of China . Originally this temple was partly built in the mid @-@ 12th century under the reign of King Suryavarman II . Further supplementation of structures was done under the reign of Jayavarman VII . Though the temple was built under Hindu kings during the 11th and 12th centuries with predominantly Hindu deities such as Shiva and Vishnu , representation of Buddha images was interpreted to have been built during the reign of <unk> , father of Jayavarman VII , who ruled from Preah Khan of Kompong . 
