A medal-winning GCHQ worker filmed women and a young girl in the privacy of their own homes, a court heard yesterday.

Mark Nicholls, 39, one of the few civilian intelligence workers to have been awarded the Afghanistan Medal for his services, was caught when he took his computer for repair and indecent images of girls were found, Gloucester Crown Court was told.

Police arrested Nicholls and seized his computer and other equipment, and found that as well as downloading child pornography he had also been covertly filming three women and an eight year old girl.

Film taken through windows and from hidden locations revealed the women undressing or breast feeding. There was also film of a naked eight-year-old girl using a paddling pool in her garden.

Nicholls, of Old Ends Lane, Stonehouse, Gloucestershire, pleaded guilty to five charges of recording people doing private acts in Quedgeley, Gloucester, between January 2011 and December 2017. He also admitted three charges of possessing indecent images of children between August 2 and August 6 2018, and one of downloading indecent images between August 2012 and August 2018.

He admitted three offences of taking indecent pictures of a girl between June 2011 and May 2012.

His case began at the Crown Court on Wednesday this week when Judge Ian Lawrie QC heard the facts before adjourning overnight and remanding Nicholls in custody.

Yesterday he concluded the case and heard that Nicholls had found his night in prison 'terrible.'

The judge then allowed Nicholls to walk free from court with a three year community order and an order to pay a total of £20,000 compensation to the four voyeurism victims which is £5,000 each.

Prosecutor Giles Nelson told the court that Nicholls took his personal computer to a shop to be repaired in August 2018 and when the engineer discovered indecent images of children aged between 11 and 15 he called the police.

“Officers attended Nicholls’ home address and seized the rest of his computer equipment and was analysed by specialists," Mr Nelson said.

“Nicholls’ computer contained three category A videos, the most serious category, and 11 in category B and 67 in category C. There were also 1,201 still images of category C.

“There were also 31 still photographs and numerous videos of a woman undressing, which she was unaware of.

“She was devastated to find out what had been going on without her knowledge. The situation has turned her life upside down.

“Nicholls had also focused his lens on the home of another woman who lived nearby, and captured her entering the room and undressing," Mr Nelson said.

“This woman was ‘sad and humiliated’ when told of his actions, the prosecutor said.

“She stated that this incident has left her feeling anxious.”

The court was then told about another incident when Nicholls photographed a young girl.

Judge Lawrie commented “This is a gross intrusion of privacy. He has a voyeuristic obsession. These videos are truly appalling.”

Mr Nelson said: “Nicholls admitted in interview that he'd taken the videos for his own sexual gratification.”

Nicholas Jones, defending, said: “Nicholls says that the deterioration of his marriage was the reason why he turned to pornography on the internet and soon developed a pornography addiction by downloading illegal images.

“He claims that his obsessive compulsive disorder played a role in his addiction and to the way he categorised everything.

“This is a defendant who has documented his life in pictures.

“He also accepts that his curiosity was behind him taking pictures.

“Since his arrest in August last year Nicholls has done a lot of self-examination and soul searching and has sought help for his problem.

“This is somebody who has looked at the whole topic so as to put himself in a better position in the future.

“He fully admits that his sexual deviance is a departure from the accepted norm.”

Judge Lawrie observed: “But he has still not quite accepted the level of his offending as he has problems over his sexual deviancy. However he has taken a small step in the right direction.”

Mr Jones concluded: “Nicholls’ offending has brought to an end of a 20-year career working for the Government at Cheltenham. He is one of the few civilians to be awarded the Afghanistan Service Medal.

“He has lost his job, his marriage has ended and he understands that he will never again be able to work with computers. He knows he will never have the same level of responsibility again and he has started retraining for work within the forestry industry.

“Nicholls has taken steps to address his past and I submit that there is a good prospect of rehabilitation for him if the court does not pass an immediate prison sentence.”

Judge Lawrie then announced he had decided to adjourn the hearing overnight.

“I am adjourning this hearing today and remanding Nicholls in custody at Hewell prison in Worcestershire, where he can reflect on his past and his future.”

When the hearing resumed yesterday on Thursday afternoon the judge asked Nicholls about his time in prison.

Nicholls replied: “It was a terrible experience.

“I have reflected on what I did and I have realised the error of my ways. It’s a path I shall never go down again.”

The judge subjected Nicholls to a three-year community order with 40 programme requirement sessions. He told Nicholls he will monitor and review his progress monthly.

The judge also imposed a 10-year restraining order barring Nicholls from contacting his victims as well as a sexual harm prevention order limiting his use of the internet for 10 years. Nicholls was placed on the sex offenders register for five years.

The judge ordered Nicholls to pay £5,000 compensation to each to his four voyeurism victims plus court costs of £400 and a victim surcharge of £85.

Judge Lawrie also ordered for the forfeiture and destruction of Nicholls’ computer equipment.