Grant Shea, a former health and human services program manager at the Philadelphia Office of Emergency Management, is facing a new federal allegation that he possessed child porn while awaiting trial on other child-pornography charges.

Shea, 29, was charged with one count of illegal possession of child porn after a sexual image of a pre-pubescent boy was found on a smartphone in his home, according to the complaint filed Monday.

Shea had previously been indicted in July on three counts — receipt, distribution and possession of child porn — and was scheduled for trial on Feb. 7.

The new complaint says the FBI, while reviewing evidence seized during an unrelated child pornography investigation, discovered that Shea attempted to solicit child porn in November.

The FBI pointed to a Nov. 5 chat between two users of Kik Messenger, a chat application. A user who went by the name "clfuntimes29" and is believed to be Shea, was soliciting child porn, the complaint says.

On Nov. 13, the FBI said, Shea's IP address accessed a Dropbox account that contained child porn. After obtaining a search warrant to search Shea's house again, the FBI on Monday found a sexual image of a pre-pubescent boy on a smartphone.

Shea appeared Monday before a federal magistrate, who revoked his bail. He was taken into custody and is now at the Philadelphia Federal Detention Center.

One of his two defense attorneys, William J. Brennan, declined to comment Tuesday.

When the FBI on June 2 had first searched Shea's South Philadelphia home, Shea admitted that he began viewing and downloading child porn one or two years ago and that it "started as a fantasy and curiosity when people started sending him links to the files," according to the new complaint.

During the June search, the FBI had seized two laptops from Shea's home. The complaint indicated that those computers contained 1,829 images and 382 videos of child porn, as well as Internet chats where Shea "would solicit other users to trade child pornography with him."

At his July 15 arraignment, Shea was released and ordered to home confinement with conditions that he not engage in any criminal activity. He was allowed to use computers and access the Internet, but only for legitimate purposes. He was barred from using any cellphone that could connect to the Internet.

Shea began working for OEM in May 2012 and served as health and human services program manager from March to July 2016, when he resigned.

It is expected that in light of the new charge against him, that his Feb. 7 trial date would be rescheduled.