Definitions of deterrent sentence
a harsh punishment given by a judge to try to stop other people from committing the same crime. Deterrent sentences usually involve the convicted criminal having to spend a long period of time in prison relative to the crime because of the circumstances involved.
The Public Prosecutor had asked the court for a deterrent sentence because the crime was committed in a religious place.