A 16-year-old boy has been praised for turning his life around after being taken into care.
The resort teen, who cannot be identified and was named as 'Y' for legal reasons, had been in secure accommodation following a troubled childhood, the Royal Courts of Justice in London heard.
But he has since come on leaps and bounds with the help of the authority, and even wrote his own care plan with the support of his solicitor and and social care staff in Blackpool, the court was told.
Delivering his judgement in private, Sir James Munby said: "Although there have been some fits and starts along the way, Y has made remarkable progress over recent months and weeks.
"That reflects great credit on the local authority, but even more so on Y himself.
"Y wants to get his life sorted out; his thinking about himself and his future is positive; he is engaging well with his social worker and other professionals; he wants to engage in education.
"With his agreement, he has moved into a semi-independent placement, which is better suited to him and , as I can well understand, more to his liking than other placements where he has been, and where, in contrast, he has settled well.
"It is rare that one reads something as positive."
Sir Munby said the care order is not in place so the council can be a 'bossy nanny', but to 'provide him with support and services'.
He added: "That is why the order I made contains this recital: 'The court expressed the importance of it being explained to Y that a care order is not in place in order to place restrictions upon him, but rather to assist him and provide him with practical support during his transition into adulthood.'"