The history of the city of Ratchaburi dates back to the Dvaravati period, when it was an important city of the Mon Kingdom. Of the city of Khu Bua nearby only ruins remains. According to legend it dates back to the mythical Suvannabhumi Kingdom predating Dvaravati.