The temple was later abandoned and jungle took possession of it. Much later in the 19th century, King Mongkut visited the remains of the temple and ordered the construction of a gigantic chedi which was completed in 1870, 17 years after work began. In 1898 the population of the nearby Nakhon Chaisi was ordered to move to the new town called Nakhon Pathom.