Mahavir Swami (Mahavira), the 24th and last Tirthankara of Jainism, did not write any books. His teachings were transmitted orally and later compiled by his disciples into the Jain Agamas.