SAN FRANCISCO (KGO) -- Enrique Pearce, a former high-profile San Francisco political consultant, had a court order to "stay away from children" modified on Friday.
Pearce, 41, appeared at a pre-trial conference on Friday. He's facing five felony child pornography charges, after police found thousands of images on his computer.
The court changed the stay-away order, so Pearce could attend family functions. His next court appearance is in August.
Pearce, a former political consultant to the mayor, faces six felony counts, including possession and distribution of child pornography.
Prosecutors say Pearce was in possession of nearly 5,000 images of child pornography, including video.
The district attorney argues Pearce is a threat to public safety, because in addition to the pornography, investigators say they found more than 100 images on his cell phone showing boys ages 7 to 12, who do not appear to know they're being photographed.