A Dunfermline man caught with a huge amount of vile child porn material in his home has been jailed for two years. 

Grant McAuley, 24, of Hill of St Margaret, appeared at Dunfermline Sheriff Court for sentencing. 

He admitted that between March 24, 2017 and July 20, last year at an address in Dunfermline, he was in possession of indecent images of children. 

He also admitted that between July 15 and 18 last year he distributed indecent images of children. 

The court was told McAuley had child abuse videos which ran to almost 23 hours and involved victims as young as two. 

Police raided his home after a tip-off but he had left for work in Rosyth.  Indecent images were found on an iPad, laptop and USB stick. Police went to McAuley’s work and arrested him. 

The stash included 104 images and 122 video in category A, the worst type of material.  The USB stick alone held more than 22 hours of indecent content. 

As well as being sentenced by Sheriff Susan Duff to two years in prison, McAuley was put on the sex offenders register.

Speaking after the sentencing, Detective Inspector Adrian Ure, of Police Scotland’s National Child Abuse Investigation Unit, said: “Grant McAuley’s offending and behaviour was appalling. He showed utter contempt for the child victims and the horrific sexual abuse they suffered, in the images and videos he was viewing and sharing. 

“In committing these crimes, McAuley believed that his online offending would go undetected. However, there is no hiding place, and as a result of our investigation he will now rightly face a custodial sentence and the consequences of his actions.

"Any form of child sexual abuse is a serious criminal offence and is a priority for Police Scotland. We encourage anyone with concerns about a child at risk of abuse, or a potential victim, to contact police immediately.”