Thailand has an ancient, continuous tradition of legal texts, generally described under the heading of Dhammasattha literature (Thai pron., tam-ma-sat), wherein prostitution is variously defined and universally banned. The era of traditional legal texts came to an end in the early 20th century, but these earlier texts were significant in regard to both the writ and spirit of modern legislation