Alan MacPherson wore a hooded jacket as he was led away to custody after the court appearance

A pensioner amassed what is thought to be the largest collection of child sexual abuse material ever seized by police in Scotland, a court has heard.

Alan MacPherson, 83, from Stenhousemuir, was found to have over two million images on various electronic devices after his home was raided in 2025.

More than 805,000 were formally identified as depicting child sexual abuse  - much of it of the most serious category - while the overwhelming scale of his collection meant much of material was not examined.

MacPherson, who admitted downloading the material over a 14-year period, was placed on the sex offenders register and remanded in custody at Falkirk Sheriff Court pending pre-sentence reports.

More stories from Tayside and Central

Listen to news from Tayside and Central on BBC Sounds

The court heard that the size of the hoard recovered from MacPherson's home was so large it had "overwhelmed" officers' capacity to check and categorise it.

Altogether, police seized nine devices โ€“ computers, phones, digital cameras, a USB stick and external drives โ€“ and indecent images of children were found on all of them.

Five of the devices were subjected to a full examination.

Nearly 1.4 million images remained ungraded on just one of his devices alone.

The court heard that MacPherson was arrested after police identified his IP address as being used to share the material online.

Prosecutor Rachel Wallace said that in July 2025 he had posted multiple images of child sexual exploitation, classed as the most serious Category A,  during an online chat with an undercover police officer.

Although he was using a messaging app designed to be anonymous, police were able to trace the messages to his home and then carried out an early morning raid.

On one storage drive alone, officers graded 698,924 child sexual abuse files.

The child victims were girls, mostly aged nine to 15, but at least one was possibly as young as seven.

Wallace said: "Police have advised us this is quite possibly the largest collection of child sexual abuse material ever seen by Police Scotland."

When MacPherson was arrested and interviewed, he told police he had searched online for years for indecent images of children "for his own personal gratification".

At Falkirk Sherriff Court, MacPherson, a first offender, pleaded guilty to downloading, possessing and distributing indecent material over more than 14 years, between 1 January 2012 and 20 January 2026.

Solicitor-advocate Stephen Biggam, defending, said MacPherson was deaf and suffering from the eye condition macular degeneration.

Biggam said that since the arrest, MacPherson had "continued to go about his business and had not been any centre of attraction in the community, as is his way."

Sheriff Craig Harris took the unusual step of  warning members of the public in the gallery that they could step out and return once the case was over, saying matters  might be "difficult for some people to hear".

He placed MacPherson on the Sex Offenders Register, and called for background reports before a further hearing on 8 September.

He told him: "The offences are far too serious for me to proceed without a report.

"Given the nature and the scale and the time over which the offences have been committed, the risk you pose when you are at liberty, and the likely outcome by way of sentence, you must now be remanded into custody."