We use cookies for certain features and to improve your experience. See our Cookie Policy and Privacy Policy to learn more

Leafly

Shop legal, local weed.

Open
advertise on Leafly
ShopDeliveryStoresDealsStrainsBrandsProductsDoctorsCannabis 101Social impact
  • Sign in
  • Create account
  • Strains
  • Shop
  • Shop
  • Delivery
  • Deals
  • Stores
  • Brands
  • Products
  • Learn
  • Cannabis 101
  • News
  • Leafly Learn
  • Science of cannabis
  • Doctors
  • Social impact
  • Lab partners
  • Download the Leafly App
  • Advertise on Leafly
    • Leafly.comUSA flag
    • Leafly.caCanadian flag
    • Leafly.deGerman flag
  • Help
  • News
  • Lifestyle
  • Strains & products
  • Industry
  • Growing
  • Health
  • Science & tech
  • Leafly USA
  • Podcasts
  • Learn
Politics

Algorithm Will Help San Francisco DA Wipe out Cannabis Convictions

Leafly StaffPublished on May 15, 2018 · Last updated July 28, 2020
San Francisco - California, Alamo Square, Urban Skyline, City, Famous Place

The San Francisco district attorney’s office is partnering with the nonprofit Code for America to proactively wipe out thousands of marijuana convictions using a computer algorithm.

District Attorney George Gascon said in a statement Tuesday the partnership will help prosecutors identify those that are eligible under California’s revised marijuana laws.

When gov’t uses 20th century tools to tackle 21st century problems it’s the public that pays the price. That’s why I’m partnering w/@codeforamerica to automate the process of reducing all 4,940 eligible felony marijuana convictions dating back to 1975.

— George Gascón (@GeorgeGascon) May 15, 2018

Gascon in January announced his office would dismiss and seal more than 3,000 misdemeanor marijuana convictions dating back to 1975 after voters approved Proposition 64 legalizing recreational marijuana for adults 21 and older. A handful of other jurisdictions in legal cannabis states have taken similar measures to proactively identify and expunge convictions, though in many areas individuals are responsible for petitioning the court on their own for relief.

Code for America will use its algorithm to search through San Francisco’s nearly 5,000 felony cases and identify those that are eligible, which will then be reviewed by a prosecutor and submitted to the court. Gascon said the plan will require “no action” from individuals with convictions and “minimal” staff time within his office.

Through this partnership, @codeforamerica will, for the 1st time, pilot a product that allows a gov’t agency to determine eligibility for record clearance under state law, automatically fill out the required forms & even generate a completed motion in PDF format. #ThatWasEasy
— George Gascón (@GeorgeGascon) May 15, 2018

According to a press release from the nonprofit Code for America, 962 motions to dismiss a misdemeanor marijuana conviction have been prepared by the DA’s office, 528 have been submitted to the San Francisco Superior Court, and 428 have been granted as of Monday. But the company says that felony convictions take much more time to process, as they require an analysis of rap sheets in order to determine eligibility.

On Twitter Tuesday, Gascon noted that prosecutors in jurisdictions “from Seattle to Philadelphia” have pledged to reduce or expunge hundreds of thousands of cannabis convictions. “Still,” he added, “many DAs that want to provide this relief have cited resource constraints as inhibiting their ability to join this commonsense effort.”

Let’s be clear: Today’s announcement separates District Attorneys and City Attorneys who say they can’t grant this commonsense relief with those that simply won’t. What does your DA stand for?

CC: @MeetYourDA

— George Gascón (@GeorgeGascon) May 15, 2018

The Associated Press contributed to this report.

Three Lives Transformed by Post-Legalization Pardons image
Politics
Three Lives Transformed by Post-Legalization Pardons
Brett Konen

Shop highly rated stores near you

Showing you stores near
See all stores
  • Loading...
    Loading...Loading...
    Loading...
    Loading...Loading...
    Loading...Loading...
  • Loading...
    Loading...Loading...
    Loading...
    Loading...Loading...
    Loading...Loading...
  • Loading...
    Loading...Loading...
    Loading...
    Loading...Loading...
    Loading...Loading...
  • Loading...
    Loading...Loading...
    Loading...
    Loading...Loading...
    Loading...Loading...
  • See all stores
See all stores
Californiaexpungementlaw enforcementSan Francisco
Leafly Staff
Leafly Staff
Leafly is the world’s largest cannabis information resource, empowering people in legal cannabis markets to learn about the right products for their lifestyle and wellness needs. Our team of cannabis professionals collectively share years of experience in all corners of the market, from growing and retail, to science and medicine, to data and technology.
View Leafly Staff's articles

The latest in Politics

  • Ohioans must activate to defend cannabis freedoms from lawmakers image
    Ohioans must activate to defend cannabis freedoms from lawmakers
    David Downs
  • Montanans must activate to protect legalization in 2025 image
    Montanans must activate to protect legalization in 2025
    David Downs
  • Analysis: Don’t hold your breath for legalization under Trump 2.0 image
    Analysis: Don’t hold your breath for legalization under Trump 2.0
    David Downs
  • These states could legalize cannabis in 2025 image
    These states could legalize cannabis in 2025
    Max Savage Levenson
Get good reads, local deals, and strain spotlights delivered right to your inbox.

By providing us with your email address, you agree to Leafly's Terms of Service and Privacy Policy.



Stay In Touch

Receive updates on new products, special offers, and industry news.

Something went wrong, please try again.

By providing us with your email address, you agree to Leafly’s Terms of Service and Privacy Policy.

Leafly mobile app
Get high for less.
Download the Leafly app.
Download Leafly: Marijuana Reviews on the App StoreDownload Leafly Marijuana Reviews on Google Play

Business Solutions
  • List your store
  • List your brand
  • Lab partners

About Leafly
  • About us
  • Careers
  • Newsroom
  • Investor relations
  • Contact us
  • FAQs
  • Accessibility

Stores in
  • British Columbia
  • Ontario
  • Alberta
  • Saskatchewan
  • Manitoba
  • Prince Edward Island

Privacy & Terms
  • Terms of use
  • Commercial terms of use
  • Privacy policy
  • Do not sell my personal information

The material provided on Leafly is intended for educational and informational purposes only. Leafly is not engaged in rendering medical service or advice and the information provided is not a substitute for a professional medical opinion. If you have a medical problem, please contact a qualified health professional.


© 2025 Leafly, LLC
Leafly and the Leafly logo are registered trademarks of Leafly, LLC. All Rights Reserved.