Michigan on Thursday became the 10th state to have legal recreational marijuana. Washington, D.C., also allows recreational use of the product.

The new law, which passed via ballot measure last month, took effect Thursday at midnight. 

Michiganders age 21 and older will now be allowed to carry up to 2.5 ounces of marijuana, the highest recreational carry limit in the nation.

People will also be able to keep 10 ounces in their home and grow up to 12 marijuana plants for personal use.

Smoking marijuana in public will still be illegal, including on porches or in driveways outside of a private residence, according to the Detroit Free Press.

Recreational marijuana won’t be available for purchase in the state until at least 2020, when regulators will start accepting applications for sale licenses. The state also plans to levy a 10 percent tax on legal recreational pot sales.

The state has had legal medical marijuana since voters approved it in 2008.

Though Michigan lawmakers have not yet passed any legislation to change the status of past marijuana-related convictions, Democratic Gov.-elect Gretchen Whitmer has said that she would support such a bill, according to the Free Press.

As more states legalize the drug for recreational use, officials nationwide have been moving to wipe past marijuana convictions from the books, noting that there is a large racial disparity in those convictions.

—Updated at 4:20 p.m.