In January 2017 Waddell was punished to 120 hours unpaid job as well as a year’s guidance over his threats versus cops.

Waddell called the Dundee HQ as well as required the return of his computer devices taken in the raid on his army barracks room then shouted he was going to “start killing police officers” when they refused.

Man intimidated to eliminate Dundee police policemans

Dundee Sheriff Court was told some were at the top end of the scale used to measure such pictures.

A month after the raid Waddell phoned Police Scotland Tayside Division’s Dundee HQ threatening to seek out a specific officer and to kill him and others.

Fiscal depute Sue Ruta told the court: “He was asked to provide the PIN for his phone but said it wasn’t his.

“It was found to belong to his ex-partner who said she had given it to him.

“Upon examination it was found to contain 21 indecent images of children in the cache of the Google Chrome browser.

“Search terms indicated he had actively sought them out.“

Waddell, 21, of Macmillan Street, Larkhall, pleaded guilty on indictment to a charge of taking or making indecent images of children on May 24 last year.

He was on two separate bail orders at the time.

His not guilty plea to possessing extreme porn images was accepted by prosecutors.

Defence solicitor Paul Parker Smith said: “He left the army on June 2 this year.”

Sheriff John Rafferty deferred sentence until later this month for social work background reports and released Waddell on bail meantime.

In January 2017 Waddell was sentenced to 120 hours unpaid work and a year’s supervision over his threats against police.

Waddell called the Dundee HQ and demanded the return of his computer equipment taken in the raid on his army barracks room then shouted he was going to ”start killing officers“ when they refused.

And last March – just weeks before his child abuse images arrest – Waddell was fined £1,000 over his fake policeman stunt.

Hamilton Sheriff Court heard he followed the friends along the M74 after they left a McDonald’s in the Lanarkshire town.

He then pulled them over on the hard shoulder and approached their car, wearing body armour and a peaked cap.

Waddell told off the driver for using her fog lights and claimed he could take away her licence.

She said she was sorry and he gave her a warning but she and her friend were alarmed by Waddell’s behaviour. He didn’t show them ID and his green body armour wasn’t police issue.

The women called the real police after the incident last July and gave them part of the registration of the white Ford Fiesta Waddell was driving.

Officers traced the car and Waddell later gave himself up.

He admitted impersonating a police constable with intent to deceive.

Man threatened to kill Dundee police officers