A jealous man sent a woman a hoax bomb after she started a new relationship.
Kristofor Kemp hounded his victim between June 2017 and July 2018. The 23-year-old left the A4 envelope containing a black box and a battery at her door step.
Her home and the surrounding area had to be evacuated by a bomb disposal unit. The Royal Navy team later discovered the device to be a "hoax."
Read more: Banned driver on M8 motorway hits car causing it to lose control and plough into central reservation
Kemp pled guilty at Glasgow Sheriff Court to a single charge of stalking.
The court heard that Kemp and the woman were friends between April 2017 and April 2018.
It was said their contact "changed" as a result of her starting a relationship with another man.
Kemp sent numerous threatening text messages and told her to end her relationship.
Prosecutor Frankie Morgan said: "The victim began to receive unwanted items delivered to her such as flowers and other gifts."
The victim asked Kemp to stop sending items as it was "upsetting her" Kemp responded that he would "throw his car off a cliff.
He continued to send items to her and make threats.
Matters culminated on July 19, 2018 when an A4 sized unstamped jiffy envelope was left at the victim's door.
Mr Morgan added: "Inside the package was a small black box with black tape around it.
"Inside it, wires were attached to a piece of paper.
"Others present believed this was an explosive device."
A 999 call was made and a number of houses in the street were evacuated.
The Royal Navy Disposal Unit later attended to x-ray the package but were unable to disable it.
Mr Morgan said: "As a direct consequence, further residents were evacuated."
The device was soaked by a high-powered water hose which did not explode the device which was then deemed "safe" and a "hoax."
Kemp was forensically traced as being responsible and he was arrested.
Calum Weir, defending, will make his plea in mitigation at next month's sentencing.
Sheriff Andrew Cubie said: "Be in no doubt, this is a very serious offence with serious consequences not just for the victim but the considerable resources caused by your own actions.
"All options remain open and be under no illusion about that."
Kemp, of the city's Nitshill, was granted bail meantime.
READ NEXT -
Shotts Prison visitor had Malteser bag stuffed with drugs and mobile phone in her bra
Airdrie couple who starved dog and neglected another with 'ear full of tumours' allowed to keep pets
Rangers fan filmed abusing Celtic players outside Ibrox branded 'disgusting and cowardly'
Glasgow's historic Govan Graving Docks could be reopened alongside new neighbourhood
Glasgow Guns N' Roses fans given apology by Axl Rose after show cancellation