An Aberdeen man who was caught with 6,449 indecent images of children has been put on the sex offenders register.
Derek Piper, 39, was charged after police searched his flat at 25F Prospect Terrace flat in Aberdeen.
Piper admitted taking or permitting indecent photographs of children to be taken over a period of months in 2014.
Piper also had 308 photos and 236 pornographic videos in his possession of adults involved in sex acts with animals which Aberdeen Sheriff Court heard related to dogs, horses and a fish.
Sentence was deferred for background reports until later this year.
As he was leaving the dock yesterday, a member of the public sitting in court made a loud animal noise and was escorted out of the court room by a police officer.
Sheriff Annella Cowan told the police constable to take the man out and consider whether he needed to be charged with breach of the peace.