Prosecutors say two former Los Angeles County Sheriff’s Department deputies planted guns to justify arrests at a medical marijuana dispensary in 2011.

The District Attorney’s Office said Wednesday that Julio Cesar Martinez and Anthony Manuel Paez were each charged with conspiracy and alteration of evidence by a peace officer. Martinez is also charged with perjury and filing a false report.

The allegations involve the deputies’ report of witnessing a narcotics transaction and seeing a suspect with a gun. Martinez allegedly also wrote that he followed one suspect into the dispensary and saw two firearms, one on a desk next to Ecstasy pills.

Investigators say a video recording is inconsistent with the deputies’ statements.

Each was booked on April 18 and released on $50,000 bail. Arraignment is scheduled for June 17.