Suphan Buri might be the site of the legendary Suvarnabhumi, which is mentioned in very old Buddhist writings. However the first confirmed historical settlement was in the Dvaravati period, when the city was known as Mueang Thawarawadi Si Suphannaphumi. Its founding did take place 877-882. Later it was called U Thong, and was the home city of Prince U Thong, the founder of the Ayutthaya kingdom. King Khun Luang Pha Ngua finally gave it the current name. Suphan Buri was an important border city, and also the location of several battles with the neighbouring Burmese.