Judicial corporal punishment (JCP) is the infliction of corporal punishment as a result of a sentence imposed on an offender by a court of law. The punishments include caning, bastinado, birching, whipping, or strapping. The practice was once commonplace in many countries, but over time it has been abolished in most countries, although still remaining a form of legal punishment in some countries including a number of former British colonies and Muslim-majority states.