LOS ANGELES, CA - JULY 25:  Marijuana plants grow at Perennial Holistic Wellness Center medical marijuana dispensary, which opened in 2006, on July 25, 2012 in Los Angeles, California. The Los Angeles City Council has unanimously voted to ban storefront medical marijuana dispensaries and to order them to close or face legal action. The council also voted to instruct staff to draw up a separate ordinance for consideration in about three months that might allow dispensaries that existed before a 2007 moratorium on new dispensaries to continue to operate. It is estimated that Los Angeles has about one thousand such facilities. The ban does not prevent patients or cooperatives of two or three people to grow their own in small amounts. Californians voted to legalize medical cannabis use in 1996, clashing with federal drug laws. The state Supreme Court is expected to consider ruling on whether cities can regulate and ban dispensaries.    (Photo by David McNew/Getty Images)
David McNew/Getty Images
LOS ANGELES, CA - JULY 25: Marijuana plants grow at Perennial Holistic Wellness Center medical marijuana dispensary, which opened in 2006, on July 25, 2012 in Los Angeles, California. The Los Angeles City Council has unanimously voted to ban storefront medical marijuana dispensaries and to order them to close or face legal action. The council also voted to instruct staff to draw up a separate ordinance for consideration in about three months that might allow dispensaries that existed before a 2007 moratorium on new dispensaries to continue to operate. It is estimated that Los Angeles has about one thousand such facilities. The ban does not prevent patients or cooperatives of two or three people to grow their own in small amounts. Californians voted to legalize medical cannabis use in 1996, clashing with federal drug laws. The state Supreme Court is expected to consider ruling on whether cities can regulate and ban dispensaries. (Photo by David McNew/Getty Images)
Now playing
02:30
The politics of pot are changing
Now playing
01:57
Chuck Hagel criticizes Trump's statement on Afghanistan
gun laws shootings Comer pamela brown nr vpx _00015627.png
CNN
gun laws shootings Comer pamela brown nr vpx _00015627.png
Now playing
02:23
'I can't answer that': Kentucky lawmaker responds to CNN on gun policy
Now playing
02:39
National security adviser: Russia will face consequences if Navalny dies in prison
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Drew Angerer/Getty Images
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Now playing
03:20
Marjorie Taylor Greene lashes out at media after backlash over controversial caucus
AP
Now playing
03:16
Maxine Waters: Jim Jordan is a bully and I shut him down
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
NICHOLAS KAMM/AFP/Getty Images
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
Now playing
03:51
Marjorie Taylor Greene launching 'America First' caucus
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
JIM WATSON/AFP/Getty Images
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
Now playing
02:22
White House backtracks on refugees decision after criticism
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:44
'National embarrassment': Biden reacts to mass shootings
MOSCOW, RUSSIA - APRIL 15:  Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Sasha Mordovets/Getty Images
MOSCOW, RUSSIA - APRIL 15: Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Now playing
02:07
Russia to expel 10 US diplomats in 'tit-for-tat response' to Biden sanctions
Now playing
03:10
Avlon: Here's what we know 100 days since the Capitol riot
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP)        (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Mladen Antonov/AFP/Getty Images
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP) (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Now playing
02:17
Political scientist: US-Russia relations are in the toilet
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Toya Sarno Jordan/Getty Images
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Now playing
02:39
Governor settles with former campaign staffer who accused her of sexual mistreatment
pool/cnn
Now playing
01:56
Hear what Dr. Gupta said when Cruz went maskless before
Now playing
02:30
Biden's decision to withdraw from Afghanistan is personal for this lawmaker
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Andrew Harnik/AP
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Now playing
02:10
Why Biden made his Afghanistan announcement in this particular room
(CNN) —  

If you’ve been arrested for weed in Illinois, you can breathe a sigh of relief.

Illinois Gov. JB Pritzker just signed HB 1438 this week, which makes cannabis legal in the state for individuals 21 and over, along with sweeping criminal criminal justice reforms designed to help those whose lives have been upended by the state’s drug laws.

In addition to legalizing marijuana, the 610-page bill offers relief to the roughly 770,000 residents of the state with marijuana-related offenses on their criminal records, according to the Marijuana Policy Project.

A new law legalizes weed and helps those caught with it in the past

The state’s new Cannabis Regulation and Tax Act, which takes effect in 2020, allows people to automatically receive clemency for convictions up to 30 grams of cannabis. Those convicted with larger amounts, from 30-500 grams can petition a court to have the charge lifted.

The bill defines expunge to mean to “physically destroy the records or return them to the petitioner and to obliterate the petitioner’s name from any official index or public record, or both.” But it doesn’t require the physical destruction of circuit court files.

The bill also includes a “social equity program,” which makes it easier for those with marijuana convictions to get business licenses. The program also allocates $12 million for startup businesses related to cannabis, as well as funding for job training programs in the state’s cannabis industry, the Marijuana Policy Project says.

The state’s Department of Agriculture and its community college board are creating pilot programs to get people ready to work in the newly legal industry, and the state will require them to focus on enrolling the low income students into those programs.

Illinois is the latest state to liberalize its cannabis laws

Gov. Pritzker is fulfilling a promise he made on the campaign trail, and is making Illinois the 11th US state to legalize recreational marijuana. So far 18 states have decriminalized marijuana, the MPP says, and in all 34 states allow patients with health complaints to use medical marijuana.

And Illinois is the latest state to offer clemency for marijuana convictions. Last month Washington Gov. Jay Inslee signed a law that gave marijuana offenders the ability to have their sentences vacated in the state.