It was named after a statue of Yama, the judge of the dead, which at the time of its discovery was covered with lichens giving it a leper-like appearance. The restored archaeological crypt allows visitor to see the two phases of its construction, under Jayavarman VII.