Vow of "total nonviolence". Jain literature of the 10th century CE, for example, describes a king ready for war and being given lessons about non-violence by the Jain acharya (spiritual teacher). In the 12th century CE and thereafter, in an era of violent raids, destruction of temples, the slaughter of agrarian communities and ascetics by Islamic armies, Jain scholars reconsidered the First Great Vow of mendicants and its parallel for the laypeople. The medieval texts of this era, such as by Jinadatta Suri, recommended both the mendicants and the laypeople to fight and kill if that would prevent greater and continued violence on humans and other life forms (virodhi-himsa). Such exemptions to ahimsa is a relatively rare teaching in Jain texts, states Dundas. Mahatma Gandhi stated, "No religion in the World has explained the principle of Ahiṃsā so deeply and systematically as is discussed with its applicability in every human life in Jainism. As and when the benevolent principle of Ahiṃsā or non-violence will be ascribed for practice by the people of the world to achieve their end of life in this world and beyond, Jainism is sure to have the uppermost status and Mahāvīra is sure to be respected as the greatest authority on Ahiṃsā". Buddhism In Buddhist texts Ahimsa (or its Pāli cognate ) is part of the Five Precepts (), the first of which has been to abstain from killing. This precept of Ahimsa is applicable to both the Buddhist layperson and the monk community. The Ahimsa precept is not a commandment and transgressions did not invite religious sanctions for laypersons, but their power has been in the Buddhist belief in karmic consequences and their impact in afterlife during rebirth. Killing, in Buddhist belief, could lead to rebirth in the hellish realm, and for a longer time in more severe conditions if the murder victim was a monk. Saving animals from slaughter for meat is believed to be a way to acquire merit for better rebirth. These moral precepts have been voluntarily self-enforced in lay Buddhist culture through the associated belief in karma and rebirth. The Buddhist texts not only recommended Ahimsa, but suggest avoiding trading goods that contribute to or are a result of violence: Unlike lay Buddhists, transgressions by monks do invite sanctions. Full expulsion of a monk from sangha follows instances of killing, just like any other serious offense against the monastic nikaya code