Complex sentence: There is a temple on top of the hill that was built during the reign of King Yasovarman I (889-910 AD).
Split into simpler sentences: There is a temple on top of the hill. It was built during the reign of King Yasovarman I (889-910 AD).