Prosecutor Simon Foster told the court: “The matter had been streamed online and that led to an extremely ugly incident.”
He said that Comley had first made contact with the profile of a 14-year-old called Maya, who did not exist but was used as a sting by the vigilante group, through Facebook before moving on to WhatsApp.
Comley started by asking for photos of the girl in her bikini before requesting pictures and videos of her naked and of her carrying out sexual acts.
Emma Easterbrook, defending, said Comley had been held in custody after a previous court hearing out of concern for his well-being because of the previous disorder.
She said: “He has lost his home and his employment; he has been punished above and beyond what we would expect from these courts for this type of behaviour.”