A paedophile was caught after he told a fellow visitor to a gay rights conference about his horde of vile images.
Dundee man Douglas Thomson told another person at an LGBT conference in Glasgow that he had “stuff he wouldn’t want others to see” on his computer at home when they asked to borrow his laptop.
His acquaintance then found search terms on the laptop so disturbing that they called police.
Fiscal depute Saima Rasheed told Dundee Sheriff Court: “The accused was at the European LGBT conference in Glasgow when a witness asked to borrow his laptop.
“He said yes. He added that he kept his porn on his other laptop and said it was stuff he wouldn’t want others to see.
“The witness saw searches in his history that were concerning.”
A total of 271 indecent images were found on his second laptop, the court was told.
Thomson, 21, of Drumlithie Place, pleaded guilty on indictment to downloading indecent images of children between December 12 2013 and September 4 2014.
Defence solicitor Anika Jethwa said she would giver her plea in mitigation on behalf of Thomson at a later sentencing date.
Sheriff Alastair Carmichael deferred sentence until next month for social work background reports and released Thomson on bail meantime.
He was ordered to forfeit his laptop and was placed on the sex offenders register ahead of sentencing.