Chera dynasty
The surviving manuscripts, such as "Keralolpathi", "Keralamahatmyam", and "Perumpadapu Grandavari", are collections of myths and legends that are less than reliable as conventional historical sources. There is an oft-recited legend that the last "Perumal" (king from the Chera dynasty) who ruled the Chera dynasty divided his kingdom between his nephews and his sons, converted to Islam and traveled to Mecca on a "hajj". The "Keralolpathi" recounts the above narrative in the following fashion: "The last and the famous "Perumal" ruled Kerala for 36 years. He left for Mecca by ship with some Muslims who arrived at Kodungallur (Cranganore) port and converted to Islam. Before leaving for Mecca, he divided his kingdom between his nephews and sons."