Ram Khamhaeng (Thai: รามคำแหง, pronounced rāːm kʰām hɛ̌ːŋ) or Pho Khun Ram Khamhaeng Maharat (Thai: พ่อขุนรามคำแหงมหาราช, pronounced pʰɔ̂ː kʰǔn raːm kʰam hɛ̌ːŋ má hǎː râːt), also spelled Ramkhamhaeng, was the third king of the Phra Ruang Dynasty, ruling the Sukhothai Kingdom (a historical kingdom of Thailand) from 1279 to 1298, during its most prosperous era.
He is credited for the creation of the Thai alphabet and the firm establishment of Theravada Buddhism as the state religion of the kingdom.