A 15-year-old boy has been detained for four years after admitting using a steak knife to stab a girl near school.
Police kept watch outside the school
The boy split up with his girlfriend a month before the stabbing on 9 January outside the Sir William Ramsay Secondary School in Buckinghamshire.
After being upset by a text message which she sent him the boy held a seven inch knife to her throat.
Her friend intervened and she was
stabbed in back and the flank, Aylesbury Crown Court heard.
The boy, who cannot be named for legal reasons, had pleaded guilty to wounding with intent to do grievous bodily harm and actual bodily harm.
Prosecutor Basil Hillman told the court that the boy had previously threatened to kill his ex-girlfriend.
Kerry Barker defending said the boy had been physically and emotionally abused by a series of stepfathers, had been subject to "bullying and intimidation" at school and is now very remorseful.
Head teacher Gaynor Comber said: "This has been a traumatic case for all concerned and the school has offered, and continues to offer, support and sympathy to the two victims."