Valayapathi  Vaḷaiyāpati (), also spelled Valayapathi, is one of the five great Tamil epics, but one that is almost entirely lost. It is a story of a father who has two wives, abandons one who gives birth to their son, and the son grows up and seeks his real father. Palm-leaf manuscripts of the epic likely existed until the 19th-century, but presently only uncertain fragments of the epic are known from commentaries and the 14th-century anthology "Purattirattu". Based on these fragments, the epic appears to be the story of a Shaiva Hindu merchant with an overseas trading business who married two women. He abandoned one, who later gives birth to his son. He has children with the other wife too. The abandoned son is bullied by overseas kids for not knowing the name of his father. His mother then discloses the father's name. The son travels and confronts his father, who first refuses to acknowledge him. Then, with the aid of a goddess, he brings his mother whose presence proves his claim. The father accepts the boy, and helps him start his own merchant business. The surviving stanzas of the epic, and the commentaries that mention "Valayapathi", suggest that it was partly a text that was disputing and criticizing other Indian religions, that it supported the ideologies found in early Jainism, such as asceticism, horrors at meat-eating, and monastic aversion to women. It is therefore "almost certain" to be a Jain epic, written by a Jain ascetic, states Kamil Zvelebil – a Tamil literature scholar. However, the substantial sections on Shaivism have led to uncertainty. According to Zvelebil, it was probably composed in or about the 10th-century CE. Of the five great epics, "Valayapathi" and "Kundalakesi" are not available in full. Only fragments quoted in other literary works and commentaries have survived. The loss of the epic happened as recent as late 19th century CE. Tamil scholar and publisher of classical literature, U. V. Swaminatha Iyer mentions in his autobiography that he once saw a palm leaf manuscript of "Valayapathi" in the Thiruvaiyaru library of his teacher, Meenakshi Sundaram Pillai. However, when he later searched for it for publication, it had disappeared. Another Tamil scholar V. Subramania Mudaliar has also written about seeing a palm leaf manuscript of "Valayapathi".