A Tusla employee was found with over 2,000 child pornography images at his home in Cork City, a court has heard.
The 34-year-old man has pleaded guilty to possessing child pornography and is due to be sentenced in November.
A Tusla child and family agency worker who was caught with thousands of child pornography images claimed to Gardaí that he downloaded them to figure out pedophiles and sex offenders as part of his work.
However, 34-year-old Denis O'Donovan - of 40 Forest Ridge, Doughcloyne, Togher in Cork - later pleaded guilty to a charge of possession of child pornography.
The court heard that he did knowingly possess child pornography, which included 2,350 images and 14 video files.
The judge adjourned sentencing until November for an update on his progress in therapy.