Legislation that would revise procedures and eligibility for the expungement of criminal records, particularly those involving minor marijuana offenses, cleared both the New Jersey Assembly and Senate.

The bill now heads to Gov. Phil Murphy’s desk for his signature.