As of 2014, certain provisions of the Qatari Criminal Code allows punishments such as flogging and stoning to be imposed as criminal sanctions. The UN Committee Against Torture found that these practices constituted a breach of the obligations imposed by the UN Convention Against Torture. Qatar retains the death penalty, mainly for threats against national security. Use of the death penalty is rare and no state executions have taken place in Qatar since 2003.