A robber left empty-handed after holding up staff at a Glasgow bookmakers with a cucumber.
Gary Rough used the vegetable - hidden in a sock- as a weapon when he demanded cash at Ladbrokes in Shettleston, Glasgow, in December.
A female worker refused to hand over money before an off-duty detective stepped in and pinned the 28-year-old to the ground.
Rough later told police who arrested him: "It was a f****** cucumber. Am I getting the jail for this?"
Rough is now behinds bars after he admitted to a charge of assault with intent to rob at the High Court in Glasgow.
Lord Bannatyne locked him up for three years and four months for what he said remained a "nasty crime".
The court heard how the bookmakers was busy when Rough carried out the raid at around 1pm last December 18.
Prosecutor Sheena Fraser said Rough was armed with a "long cylindrical object covered in a black sock" when he went to the counter for cash.
Worker Andrea McIntosh thought it may be a gun but refused to give him money.
The court heard Detective Sergeant Drew White also happened to be in the betting shop and heard the commotion.
CCTV showed DS White knocking him to the ground with one blow.
The black sock was then taken off the "weapon" revealing it to be a cucumber.
Rough initially told police it was "a joke" adding: "It was a dare. It was a f****** cucumber. Am I getting the jail for this?"
He later added: "I think it was quite stupid. I am not a robber. It was a laugh that went too far. I hold my hands up to being a complete a***."
Tony Graham, defending, said Rough was a £500-a-week plumber who "could give no explanation" why he tried to rob the bookmakers.
Mr Graham added: "He is a man who had no outstanding issues that would need him to seek financial gain from a robbery.
"While he was aware that it was a vegetable in a sock, he is also aware it may have appeared different to others."
People who read this story also read
- Pub boss 'defied court order' not to show Sky Sports football matches
- Dogs rescued from burning flat after turning on cooker at property
- Schoolgirl found at friend's house after going missing overnight
- 'Bugged' director wins dismissal case against Michelle Mone firm
- Paisley bus operator banned over driver's £17,000 travel pass fraud