Khorat Plateau, Malay language of southern sultanates and other minority languages. Languages of Chinese immigrants were Teochew and Hokkien. Ethnic immigration also affected Siamese language. Plethora of Southern Min Chinese lexicon entered Thai language. Chinese loanwords prompted invention of two new tone markers; Mai-Tri and Mai-Chattawa that were used exclusively for Chinese words to transmit Chinese tones. Mai-Tri and Mai-Chattawa first appeared around mid-to-late eighteenth century. During religious reforms in mid-nineteenth century, King Mongkut discouraged the use of Khom Thai script in religious works for reason that its exclusivity gave wrong impression that Khmer script was holy and magical, ordering the monks to switch to Thai script in recording Buddhist canon. Mongkut also invented Roman-inspired 'Ariyaka script' to promote printing of Tripitaka instead of traditionally inscribing on palm leaves but it did not come into popular use and eventually fell out of usage. Only in 1893 that first whole set of the Pāli canon in Thai script was printed. Traditional Literature Siamese royal court of Early Bangkok Period sought to restore royal epics and plays lost during the wars. Kings Rama I and Rama II themselves wrote and recomposed royal plays including Ramakien (adapted from Indian epic Ramayana) and Inao (Thai version of Javanese Panji tales). Kings' own works were called Phra Ratchaniphon ( "Royal writing"). Refined royal theater plays, known as Lakhon Nai ( "Inner plays"), was reserved only for royal court and was performed by all-female actors that were part of royal regalia, in contrast to vernacular, boisterous Lakhon Nok ( "Outer plays") that entertained commoner folk and performed by all-male troupes. Krom Alak or Department of Royal Scribes formed circles of illustrious court poets and scholars under royal supervision. Traditional Siamese non-fiction genre includes Buddhist and historical themes. Chaophraya Phrakhlang Hon was known for his translation of Chinese Romance of Three Kingdoms and Burmese Razadarit Ayedawbon into prose works Samkok and Rachathirat, respectively. Despite foreign origins of these works, they were appropriated into Thai literature repertoire to be distinctively Thai and incorporated many local Siamese legends. Prince Poramanuchit, who was the Sangharaja hierophant from 1851 to 1853, produced vast array of educational literature including a new version of Thai Vessantara Jātaka, Samutthakhot Khamchan that narrated moral lessons, Krishna teaches his Sister that narrated morals for women and Lilit Taleng Phai (1832) that described Burmese-Siamese Wars of King Naresuan. Traditional Thai literature were produced in first three reigns