Mahavira, also known as Vardhamana was the 24th Tirthankara of Jainism. He was the spiritual successor of the 23rd Tirthankara Parshvanatha. Mahavira was born in the early part of the 6th century BCE into a royal family in Bihar, India. His mother's name was Trishala and his father's name was Siddhartha. They were lay devotees of Parshvanatha. Mahavira abandoned all worldly possessions at the age of about 30 and left home in pursuit of spiritual awakening, becoming an ascetic. Mahavira practiced intense meditation and severe austerities for 12 and a half years, after which he attained Kevala Gyan. He preached for 30 years and attained Moksha in the 6th century BCE, although the year varies by sect.
Historically, Mahavira, who preached Jainism in ancient India, was an older contemporary of Gautama Buddha. Scholars variously date him from the 6th to 5th century BCE, and his place of birth is also a point of dispute among them.
Mahavira taught that observance of the vows of ahimsa, satya, asteya, brahmacharya, and aparigraha are necessary for spiritual liberation. He taught the principles of Anekantavada: syadvada and nayavada.