Orthography
The Maya were literate in pre-Columbian times, when the language was written using Maya script. The language itself can be traced back to proto-Yucatecan, the ancestor of modern Yucatec Maya, Itza, Lacandon and Mopan. Even further back, the language is ultimately related to all other Maya languages through proto-Mayan itself.
Yucatec Maya is now written in the Latin script. This was introduced during the Spanish Conquest of Yucatán which began in the early 16th century, and the now-antiquated conventions of Spanish orthography of that period ("Colonial orthography") were adapted to transcribe Yucatec Maya. This included the use of x for the postalveolar fricative sound (often spelled as sh in English), a sound that in Spanish has since turned into a velar fricative nowadays spelled j, except in a few geographic names such as "México".
In colonial times a "reversed c" (ɔ) was often used to represent, which is now more usually represented with ⟨dz⟩ (and with ⟨tz'⟩ in the revised ALMG orthography).
Read more about this topic: Yucatec Maya Language