Criminal liability requires an actus reus (guilty act) and mens rea (guilty mind). An act must be forbidden by law and committed intentionally or knowingly to constitute a crime. There are different stages of a crime - intention, preparation, attempt, and commission - but only the last where the criminal consequences are realized is punishable. The measure of criminal liability considers the motive, magnitude of the offense, and character of the offender. Common types of punishment include imprisonment, fines, and in some places corporal or capital punishment. The objectives of punishment are deterrence, prevention, reformation, and retribution, as well as compensation for victims.