Current Islamic laws allow the use of capital punishment for many violent and nonviolent offenses which includes robbery, treason, espionage, as well as homosexuality, adultery; murder; apostasy;[216] drug trafficking; rape; armed robbery;[217] some military offences; witchcraft; sexual misconduct and terrorism.