Sentencing in Canada has remained fairly consistent since formalized courts, at both the federal and provincial levels, were established shortly after Confederation in 1867. Once an accused person is convicted (found guilty) of a crime, the court must decide on an appropriate sentence. Sentencing is one of the most challenging and controversial aspects of our justice system. The public has strong opinions about it, the media reports its perspective, and the written law has its framework. In addition to all of that, there are the individuals affected by the crime—victims and offenders—who also have a broad range of religious, social, cultural, and moral values and views that influence their perspectives on sentencing. Regardless of any opinion or belief, a judge must adhere to the sentencing guidelines within the Criminal Code.