A former Royal Navy officer who admitted storing hundreds of child porn images on his laptop computer has been told he will not go to jail.
Police found hundreds of indecent images of children on the computer
Gordon Scott MBE, 41, was discovered after police raided his Glasgow home in June 2004 on a separate matter.
Officers found 332 photographs of pre-pubescent children.
Scott was put on probation and ordered to carry out 160 hours of community service. He was also placed on the sex offenders' register for three years.
The once highly-regarded petty officer pled guilty last November at Glasgow Sheriff Court to possessing the images. He was sentenced on Wednesday.
The images were found in Scott's flat in Duke Street, Dennistoun, on 30 June, 2004, during an unrelated search.
Officers seized and examined a laptop computer as well as compact and floppy discs.
Keith O'Mahony, prosecuting, told the court 332 still images were discovered on the laptop.
"Searches had been made that led the accused to various sites, where the images were downloaded for free," he said.
Police later detained Scott, who angrily denied the allegations.
He told officers: "There is no way I would put these images on - it is disgusting. I have not done it, I did not do it."
Joe Hughes, defending, said the incident had brought shame to the former officer and his family.
The lawyer added that he was now trying to rebuild his life by enrolling in a hotel and catering management course at Strathclyde University.
Sheriff Fiona Reith QC ruled out locking up Scott, adding that there was an alternative to jail.
She told him that although the number of images found was "sizeable", none were moving images.
She also pointed out that 227 were "thumbnail" and found in a temporary section of the computer, therefore had not been deliberately downloaded and saved.
Sheriff Reith ordered that Scott have no contact with children under 17 without permission from a supervising officer.