SAN LEANDRO (CBS/AP) – A San Leandro police narcotics detective charged with giving marijuana to an informant has resigned from the force.

Harry Stern, the attorney for 38-year-old Jason Fredriksson, said his client’s resignation was effective Friday.

READ MORE: New COVID Variant 'Omicron' Identified; Here's What You Need To Know

Stern told said the move had nothing to do with the marijuana charge, which he called completely unsubstantiated. He said his client wanted to take responsibility for having an inappropriate relationship with the informant.

Fredriksson was apparently having an affair with the woman.

READ MORE: 'The Long Good-Bye'; New Hope In The Battle Against Alzheimer’s Disease

Investigators said he provided more than a pound of marijuana to the woman, who has not been identified, for her to sell.

He has pleaded not guilty to transporting and furnishing marijuana for sale, a felony, and is free on bail.

MORE NEWS: Jack Dorsey Stepping Down As Twitter CEO

(Copyright 2011 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)