{
  "url": "https://openlegislation.uk/sentencing-act-2020/section-329",
  "json_url": "https://openlegislation.uk/sentencing-act-2020/section-329.json",
  "legislation": "ukpga/2020/17",
  "legislation_title": "Sentencing Act 2020",
  "legislation_url": "https://openlegislation.uk/sentencing-act-2020",
  "path": "section/329",
  "kind": "section",
  "number": "329",
  "heading": "Conversion of sentence of detention to sentence of imprisonment",
  "text": "(1) This section applies where a court has passed a relevant custodial sentence sentencing an offender to a term of detention and the offender—\n(a) has reached the age of 21, or\n(b) has reached the age of 18 and has been reported to the Secretary of State by the independent monitoring board of the institution in which the offender is detained as—\n(i) exercising a bad influence on the other inmates of the institution, or\n(ii) behaving in a disruptive manner to the detriment of those inmates.\n(2) The Secretary of State may direct that the offender is to be treated as if sentenced to imprisonment for the same term.\nThis is subject to the following provisions of this section.\nEffect of direction\n(3) Subsections (4) to (5A) apply where the Secretary of State gives a direction under subsection (2) in relation to the offender.\n(4) The portion of the term of detention imposed under the relevant custodial sentence which the offender has already served is to be deemed to have been a portion of a term of imprisonment.\n(4A) If the relevant custodial sentence is—\n(a) a sentence of detention under section 252A, or\n(b) a sentence of detention in a young offender institution under section 265,\nthe offender is to be treated as if sentenced to a sentence of imprisonment under section 278.\n(5) If the relevant custodial sentence is—\n(a) an extended sentence of detention under section 254, or\n(b) an extended sentence of detention in a young offender institution,\nthe offender is to be treated as if sentenced to an extended sentence of imprisonment under section 279.\n(5A) If the relevant custodial sentence is a serious terrorism sentence of detention in a young offender institution, the offender is to be treated as if sentenced to a serious terrorism sentence of imprisonment under section 282A.\n(6) Rules under section 47 of the Prison Act 1952 may provide that any award for an offence against discipline made in respect of an offender serving a relevant custodial sentence is to continue to have effect after a direction under subsection (2) has been given in relation to the offender.\n“Relevant custodial sentence”\n(7) In this section “relevant custodial sentence” means any of the following—\n(a) a sentence of detention under section 250 (including one imposed under section 258 or 258A (detention for life));\n(aa) a sentence of detention under section 252A;\n(b) an extended sentence of detention under section 254;\n(c) a sentence of detention during Her Majesty's pleasure (see section 259);\n(d) a sentence of detention in a young offender institution;\n(e) an extended sentence of detention in a young offender institution (see section 266);\n(ea) a serious terrorism sentence of detention in a young offender institution (see section 268A);\n(f) a sentence of custody for life (see sections 272 and 275).",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Words in s. 329(3) substituted (30.4.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(1)(i), Sch. 13 para. 26(25)(a)"
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Word in s. 329(3) substituted (29.6.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(2)(v), Sch. 13 para. 11(16)(a)"
    },
    {
      "type": "F",
      "label": "F3",
      "text": "S. 329(4A) inserted (30.4.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(1)(i), Sch. 13 para. 26(25)(b)"
    },
    {
      "type": "F",
      "label": "F4",
      "text": "S. 329(5A) inserted (29.6.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(2)(v), Sch. 13 para. 11(16)(b)"
    },
    {
      "type": "F",
      "label": "F5",
      "text": "Words in s. 329(7)(a) inserted (28.6.2022) by Police, Crime, Sentencing and Courts Act 2022 (c. 32), ss. 3(12), 208(5)(b)"
    },
    {
      "type": "F",
      "label": "F6",
      "text": "S. 329(7)(aa) inserted (30.4.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(1)(i), Sch. 13 para. 26(25)(c)"
    },
    {
      "type": "F",
      "label": "F7",
      "text": "S. 329(7)(ea) inserted (29.6.2021) by Counter-Terrorism and Sentencing Act 2021 (c. 11), s. 50(2)(v), Sch. 13 para. 11(16)(c)"
    },
    {
      "type": "C",
      "label": "C1",
      "text": "S. 329 modified by 2006 c. 52, s. 262A (as inserted (1.12.2020) by Sentencing Act 2020 (c. 17), s. 416(1), Sch. 25 para. 62 (with s. 416(7), Sch. 27); S.I. 2020/1236, reg. 2)"
    },
    {
      "type": "I",
      "label": "I1",
      "text": "S. 329 in force at 1.12.2020 by S.I. 2020/1236, reg. 2"
    }
  ],
  "outstanding_effects": [
    {
      "type": "amendment to earlier affecting provision 2006 c. 52, s. 262A",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "omitted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "omitted",
      "affecting": "ukpga/2020/17",
      "affecting_title": "Sentencing Act 2020"
    },
    {
      "type": "amendment to earlier affecting provision 2006 c. 52, s. 262A",
      "affecting": "ukpga/2021/11",
      "affecting_title": "Counter-Terrorism and Sentencing Act 2021"
    },
    {
      "type": "words substituted by 2020 c. 17, Sch. 22 para. 70(za) (as inserted)",
      "affecting": "ukpga/2021/11",
      "affecting_title": "Counter-Terrorism and Sentencing Act 2021"
    },
    {
      "type": "omitted by virtue of 2020 c. 17, Sch. 22 para. 70(zb) (as inserted)",
      "affecting": "ukpga/2021/11",
      "affecting_title": "Counter-Terrorism and Sentencing Act 2021"
    },
    {
      "type": "omitted by virtue of 2020 c. 17, Sch. 22 para. 70(aa) (as inserted)",
      "affecting": "ukpga/2021/11",
      "affecting_title": "Counter-Terrorism and Sentencing Act 2021"
    },
    {
      "type": "omitted by virtue of 2020 c. 17, Sch. 22 para. 70(b) (as amended)",
      "affecting": "ukpga/2021/11",
      "affecting_title": "Counter-Terrorism and Sentencing Act 2021"
    }
  ],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2020/17/section/329",
    "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."
}