{
  "url": "https://openlegislation.uk/sentencing-act-2020/section-227",
  "json_url": "https://openlegislation.uk/sentencing-act-2020/section-227.json",
  "legislation": "ukpga/2020/17",
  "legislation_title": "Sentencing Act 2020",
  "legislation_url": "https://openlegislation.uk/sentencing-act-2020",
  "path": "section/227",
  "kind": "section",
  "number": "227",
  "heading": "Restriction on imposing imprisonment on persons under 21",
  "text": "Sentence of imprisonment\n(1) No court may pass a sentence of imprisonment on an offender for an offence if the offender is aged under 21 when convicted of the offence.\nCommittal to prison\n(2) No court may commit a person who is aged under 21 to prison for any reason, except as provided by subsection (3).\n(3) Subsection (2) does not prevent the committal to prison of a person aged under 21 who is—\n(a) remanded in custody,\n(b) committed in custody for sentence, or\n(c) sent in custody for trial under section 51 or 51A of the Crime and Disorder Act 1998.",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "I",
      "label": "I1",
      "text": "S. 227 in force at 1.12.2020 by S.I. 2020/1236, reg. 2"
    }
  ],
  "outstanding_effects": [
    {
      "type": "words substituted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "words substituted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "words substituted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    }
  ],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2020/17/section/227",
    "retrieved_at": "2026-10-29T09:00:57.370248+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}