Jainism is based on the teachings of Mahavira. According to the Jain text Jainism has always existed and will always exist. Mahavira was the 24th tirthankara of Jainism. Jainism principally aims at the attainment of freedom from worldly bonds. No ritual is necessary for such liberation. It can be obtained through right knowledge, right faith and right action. Jainism prohibited the practice of war and even agriculture for his followers because both involve the killing of living beings. Eventually followers of Jainism confined themselves to trade and commerce.