Ashtanga yoga is an ethico-religious practice comprised of yama and niyama.
yama
Ahimsa — Gandhi’s Nonviolent Political Action
By appealing to the moral force that lies deep within each of us, Gandhi both persuaded the British oppressors to give up their crown jewel of India, and disarmed the hate-filled sectarian mobs fighting over the spoils.