Lolei dates to the end of the ninth century (893) and was built by Yasovarman I (889-910) in honor of his father. As part of the Roluos group, the temple was once situated in the center of the Indratataka baray (reservoir). According to an inscription, the reservoir's waters were used at the capital of Hariharalaya for irrigation and practical use.