Updated

Police in Virginia say they no longer will pursue efforts to take sexually explicit photos of a 17-year-old in an effort to prove a sexting case against him.

Police and prosecutors faced a wave of criticism following media reports that they had obtained a warrant to take photos of the teen's erect penis. Police wanted the pictures to compare against photos he is accused of sending to his 15-year-old girlfriend at the time.

On Thursday, Manassas Police Lt. Brian Larkin said the Police Department will not proceed with the plan to take the pictures and will let a search warrant authorizing the photos to expire.

Privacy advocates had criticized the plan as a violation of the teen's constitutional rights.