The concept of the plea is one of the major differences between criminal procedure under common law and procedure under the civil law system. Under common law, defendant who pleads guilty is automatically convicted and the remainder of the trial is used to determine the sentence. This produces a system known as plea bargaining, in which defendants may plead guilty in exchange for a more lenient punishment.