further category of relevant child who is: (a) not looked after, (b) aged 16 or 17, and (c) at the time he attained the age of 16 was detained (i.e. detained in a remand centre, a young offenders institution or a secure training centre, or any other centre pursuant to a Court order), or in a hospital, and immediately before he was detained or in hospital he had been looked after by a local authority for a period or periods amounting in all to at least 13 weeks which began after he reached the age of 14. Regulation 3 of the Care Leavers Regulations also provides that a child who has lived for a continuous period of six months or more with: The local authority that last looked after the relevant child must: • take reasonable steps to keep in touch with the relevant child [section 23B(1) of the 1989 Act] • prepare an assessment of the relevant child’s needs with a view to determining what advice assistance and support it would be appropriate for them to provide him (unless they already did so when he was an eligible child) [section 23B(3)(a) of the 1989 Act; the requirements for carrying out the assessment are set out in regulations 4 and 5 of the Care Leavers Regulations] • as soon as possible after any assessment of needs is completed, prepare a pathway plan [section 23B(3)(b) of the 1989 Act; the requirements for preparing the pathway plan are set out in regulation 6 of the Care Leavers Regulations] • keep the pathway plan under regular review [section 23E(1D) of the 1989 Act; the requirements for carrying out reviews are set out in regulation 7 of the Care Leavers Regulations] • appoint a personal adviser for the child (unless they already did so when he was an eligible child) [section 23B(2) of the 1989 Act; the functions of the personal adviser are 12 Definitions Mai