{
  "url": "https://openlegislation.uk/sentencing-act-2020/section-271",
  "json_url": "https://openlegislation.uk/sentencing-act-2020/section-271.json",
  "legislation": "ukpga/2020/17",
  "legislation_title": "Sentencing Act 2020",
  "legislation_url": "https://openlegislation.uk/sentencing-act-2020",
  "path": "section/271",
  "kind": "section",
  "number": "271",
  "heading": "Detention in a young offender institution: place of detention",
  "text": "(1) An offender sentenced to detention in a young offender institution is to be detained in a young offender institution unless a direction under subsection (2) is in force in relation to the offender.\nThis is subject to section 22(2)(b) of the Prison Act 1952 (removal to hospital etc).\n(2) The Secretary of State may from time to time direct that an offender sentenced to detention in a young offender institution is to be detained in a prison instead of a young offender institution.",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "I",
      "label": "I1",
      "text": "S. 271 in force at 1.12.2020 by S.I. 2020/1236, reg. 2"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2020/17/section/271",
    "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."
}