The deliberate infliction of harm upon somebody, or the withdrawal of some good from them, by an authority, in response to their being supposed to have committed some offence. Sometimes punishment may be inflicted upon an animal, or ritualistically upon an inanimate thing. The philosophical problem with punishment is that since it involves the infliction of some kind of harm, or deprivation of some kind of good, it transgresses normal ethical boundaries, and therefore requires specific ethical justification. The major elements in such a justification have been felt to be: