The Jain texts, unlike most Hindu and Buddhist texts on just war, have been inconsistent. For its monastic community – "sadhu" and "sadhvi" – the historically accepted practice has been to "willingly sacrifice one's own life" to the attacker, to not retaliate, so that the mendicant may keep the First Great 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.