(1)A person under21 years of age shall not be sentenced to imprisonment.
(a)a person under 21 years of age is convicted of murder or any other civil offence the sentence for which is fixed by law as imprisonment for life; or
(b)a person under that age is convicted of any civil offence to which [F3section 109 of the Powers of Criminal Courts (Sentencing) Act 2000]] would apply and the court is not of the opinion mentioned in subsection (2) of that section,
the court shall sentence him to custody for life unless he is liable to be detained under subsection (3) below.
(1B)Where a person aged [F418 years] or over but under 21 years of age is convicted of any other offence for which a person aged 21 years or over would be liable to imprisonment for life [F5then, subject to subsection (1E) below], the court shall sentence him to custody for life if—
F6(a). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(b)it considers that a custodial sentence for life would be appropriate.
(1C)For the purpose of determining whether any method of dealing with a person to whom subsection (1B) of this section applies, other than sentencing him to custody for life, is appropriate, the court shall obtain and consider information about the circumstances, and shall take into account any information before the court which is relevant to his character and his physical and mental condition.
[F7(1D)Subject to subsections (3) and (4) below, the only custodial sentences that a court may award where a person under 21 years of age is convicted or found guilty of an offence are—
(a)a custodial order under section 43AA of this Act or under paragraph 10 of Schedule 4A to this Act; and
(b)a sentence of custody for life under subsection (1A) or (1B) above.
(1E)A court may not—
(a)make a custodial order under section 43AA of this Act; or
(b)pass a sentence of custody for life under subsection (1B) above;
unless it is satisfied—
(i)that the circumstances, including the nature and the gravity of the offence, are such that if the offender were aged 21 or over the court would pass a sentence of imprisonment; and
(ii)that he qualifies for a custodial sentence.
(1F)An offender qualifies for a custodial sentence if—
(a)he has a history of failure to respond to non-custodial sentences and is unable or unwilling to respond to them; or
(b)only a custodial sentence would be adequate to protect the public from serious harm from him; or
(c)the offence of which he has been convicted or found guilty was so serious that a non-custodial sentence for it cannot be justified.]
(2) . . . F8
(3)A person convicted of murder [F9or any other offence the sentence for which is fixed by law as life imprisonment] who was under 18 years of age when the offence was committed shall not be sentenced to imprisonment for life, F10. . .; but in lieu thereof the court shall (notwithstanding anything in this or any other Act) sentence him to be detained during Her Majesty’s pleasure, and if so sentenced he shall be liable to be detained in such place and under such conditions as the Secretary of State may direct.
(4)[F11 In any case where—
(a)a person aged 14 or over but under [F1218 years] of age is] found guilty of a civil offence (other than one the sentence for which is fixed) which is punishable by a civil court in England or Wales on indictment by, in the case of an adult, a term of imprisonment for 14 years or more, [F11or,
(b)a person under 14 years of age is found guilty of manslaughter, and, in either case, the court] is of opinion that none of the other methods in which the case may be legally dealt with is suitable [F13 the court may sentence that person], to be detained for such period, not exceeding the maximum term of imprisonment with which the offence is punishable by such a civil court in the case of an adult, as may be specified in the sentence; and where such a sentence has been passed, the person on whom it is passed shall during that period be liable to be detained in such place and on such conditions as the Secretary of State may direct .
(5)A sentence of custody for life or detention under subsection (3) or (4) above shall be treated for the purposes of this Part of this Act as a punishment authorised by this Act involving the same degree of punishment as a sentence of imprisonment; and section 43(3) and (4) above shall apply to such a sentence of detention and to a sentence of custody for life as they apply to a sentence of imprisonment.
(6)A person detained pursuant to the directions of the Secretary of State under this section shall, while so detained, be deemed to be in legal custody.]
[F14(7)A sentence of detention under section 43(1)(e) of this Act shall be treated for the purposes of this section as a non-custodial sentence and references in this section to a custodial sentence shall be construed accordingly.]