 Sujit Wongthet argued a connection to the Sanskrit word "sewa", indicating some original association with ritual.Beginning in the eighteenth century, prominent episodes from the story were written down.After the foundation of Bangkok in 1782, the new royal court made efforts to retrieve all kinds of texts which had survived the sack of Ayutthaya fifteen years earlier.