The Thai alphabet was probably derived from, or at least influenced by, the Old Khmer alphabet. According to tradition it was created in 1283 by King Ramkhamhaeng (พ่อขุนรามคำแหงมหาราช).
The Thai alphabet is used to write Thai, Sanskrit, Pali, and a number of minority languages spoken in Thailand.