San Francisco District Attorney George Gascon has teamed up with nonprofit Code For America to use a computer algorithm based on its "Clear My Record" technology to overturn 9,362 marijuana convictions dating back to 1975. The algorithm automated the scanning of many thousands of court records to find cases that were eligible for expungement. California legalized recreational marijuana in 2016 and Proposition 64 allowed for old cases to be overturned. But individuals had to petition the court and the process was confusing, costly and time-consuming. Only 23 cases had been processed in the court system before the computer algorithm was able to perform the task in just minutes. "The cleared records will help people gain employment and be approved for housing and other opportunities they might have been denied because of their criminal records." Code For America says it is hopeful that it can bring the technology to other cities and counties. "If you are the mom or dad who wants to participate in the kids' school activities and they're being told you can't go to that field trip because you have a felony conviction because you sold a nickel bag in the Tenderloin 10 years ago, that's the people that we care about," said Gascon. "Contact with the criminal justice system should not be a life sentence, so we've been working to reimagine the record clearance process," Jennifer Pahlka, Code for America founder and executive director, said in a statement."This new approach, which is both innovative and common sense, changes the scale and speed of justice and has the potential to ignite change across the country."