Just like truth, religion is never founded, it is realized. Mahavir realized the truth of life and its working, through a vigorous practice of letting go of all worldly pleasures. His truths, vows, and practices gave birth to the religion of Jainism.