YAKIMA, Wash. -

 A Yakima County judge has dismissed several charges against a jail inmate, finding the man's constitutional rights were violated when the county prosecutor's office and a sheriff's detective listened to recorded phone calls between the inmate and his lawyer.

Superior Court Judge Douglas Federspiel ruled Wednesday that Daniel Woolem's attorney-client privilege was violated. The judge granted a motion to dismiss several felony drug and stolen property charges.

The Yakima Herald-Republic reports that Prosecuting Attorney Jim Hagarty didn't return phone calls seeking comment.

Former Yakima County prosecuting attorney and retired U.S. Attorney Jeff Sullivan had been brought in to determine the facts of the case.  The judge ruled after reviewing Sullivan's report and listening to two days of testimony.

Officials disclosed last summer that there was eavesdropping on calls in May 2011 between Woolem and his attorney at the time, Tim Schoenrock.