The Chera kingdom of Mahodayapuram was established in the ninth century in the south-western part of the peninsula, part of present-day Kerala. It is likely that Malayalam was spoken in this area. The rulers introduced the Malayalam language and script in their inscriptions.