Built in the 12th century by Jayavarman VII, at the west end of the king's Jayatataka baray, it is easily one one the larger and more complex structures in the temple system. It has been left largely unrestored as trees and vegetation grow though and around the sprawling galleries.