King Borom Trailokanat, the eighth king of Ayutthaya, built a new palace just north of
the area, adjacent to the old Lopburi River, the actual Khlong Muang, serving that time
as the northern city moat. He converted in 1448 the royal pavilions of his predecessors
into a Putthawat or sacred religious zone.