A girl walking home from a Northampton school had what she thought was a gun put to her head.
The incident happened at about 3.15pm yesterday as the girl walked home from Kingsthorpe College.
The police were called, but it turned out the gun was a toy.
A spokesman for Northamptonshire Police said: “A girl walking home from school had what she thought was a gun put to her head, but it turned out that it was actually a toy.
“The schoolboy involved has been spoken to by the police and given advice about his actions.
“The school has also been made aware about what happened.”