It was built in part by Jayavarman VII and extended by his successor. The wall faces east provide the best lighting for photography before noon. Terrace of the Leper King is located just to the north of the Terrace of the Elephants and is considered a part of the larger Royal Terraces. It is a 360 meter long sandstone wall and two and half meter tall that forms the eastern boundary of the Royal Palace area. The terrace is titled after a statue of the “Leper King” that originally stood at the center of the terrace. The original statue now is located in the National Museum in Phnom Penh but a modern replica remains on site, kneeling in a Javanese pose with his forearm supported by his right knee. The statue originally belonged to the Leper King, Preah Thong Prince, an Indian who came to Cambodia to get a wedding with the daughter of the Naga King and founded the city of Angkor.
There is another legend said that the leper king was said to be King Jayavarman VII. He was diagnosed with leper disease. He was embarrassed with that disease so he decided to escape from the royal palace to this terrace. Then he was disappeared since then. There are many legends described about King Javarman VII’s history.