Jayavarman VII
It was built in the Bayon style under Jayavarman VII, though its modern name derives from a 15th-century sculpture discovered at the site. The statue depicts the Hindu god Yama, the god of death.