A man who attempted to rob a teenager at knifepoint was unaware it was his own son.

The 45-year-old pounced at an ATM in Glasgow's Cranhill on November 19 last year.

The 17-year-old victim had used the cash machine close to his home to withdraw £10.

He saw a hooded man dressed in dark clothing with a snood over his face lurking nearby.

Prosecutor Carrie Stevens told Glasgow Sheriff Court: "As he put his card in his pocket and took the cash from the machine, he turned left and felt something against the left side of his face.

"He was pinned up against the wall by the neck.

"The boy felt a large kitchen knife pressed against his face.

"The accused stated: 'Give me it. Give me it now'."

The victim instantly identified his dad from his voice and eyes.

The stunned boy said: "Are you serious? Do you know who this is?"

The attacker replied: "I don't give a f*** who it is."

The victim pulled down the snood revealing his dad's face and said: "What are you doing?"

The thug responded: "I'm sorry, I'm desperate."

The son fled the scene and told his gran of his ordeal before police were alerted.

The robber was later arrested at his home and initially denied being the culprit.

But, he later stated: "I didn't know it was him at the cash machine, I done it, I will do the time for it."

He pleaded guilty to a charge of attempting to rob the victim.

The man also admitted possession of a knife in a public place.

Edward Gilroy, defending, told the court: "His mother, brother and son are all extremely angry at him."

Sheriff Andrew Cubie jailed the dad for 26 months.

Sentencing, the sheriff said: "These are an extraordinary set of events."