RICHMOND, Va. (AP) — Virginia became the first Southern state to legalize marijuana Wednesday, as lawmakers voted to approve Gov. Ralph Northam’s proposed changes to a bill that will allow adults to possess and cultivate small amounts of the drug starting in July.

Northam sent the bill back to lawmakers substantially changed from the version that squeaked out of the General Assembly in February. The amendments lawmakers agreed to Wednesday would accelerate the timeline of legalization by about three years, well before retail sales would begin, a move that's been cheered by racial justice advocates.

“The time has come for our state to legalize marijuana. The amendments ensure that while we’re doing the complicated work of standing up a commercial market, we aren’t delaying immediate reforms that will make our Commonwealth more equitable for all Virginians," House Majority Leader Charniele Herring said in urging her colleagues to approve the governor's changes.

Democrats said the bill was a matter of urgency, a necessary step to end what state figures show is a disparate treatment of people of color under current marijuana laws.

Northam's amendments cleared the House 53-44 with two abstentions during a one-day session held for the purpose of putting the finishing touches on the year's legislation. In the Senate, lawmakers deadlocked 20-20 and Democratic Lt. Gov. Justin Fairfax broke the tie, voting to approve the changes.

The final version of the legislation would allow adults 21 and up to legally possess up to one ounce (28.3 grams) of cannabis without the intent to distribute beginning July 1. It also would allow the home cultivation of up to four plants per household beginning July 1. Public use of the drug will be prohibited.

“This is not going to generate some ganjafest at Jiffy Lube pavilion out in the parking lot, because that is smoking in public. Just like you can’t drink in public, you can’t smoke in public under this,” Democratic Sen. Scott Surovell said.

It will be years before legal retail sales follow legalized possession. The bill lays out the complex process of creating a new state agency to oversee the marijuana marketplace, with sales beginning and regulations taking effect on Jan. 1, 2024.

Many parts of the bill dealing with the regulatory framework will have to be reapproved by lawmakers next year. The possession and cultivation pieces will not.

Republicans, who overwhelmingly opposed the bill when it initially went through the General Assembly, railed against the latest version, citing several reasons.

GOP Del. Chris Head called the bill “a train wreck.”

“The hard-fought compromise that barely made it out of this chamber and over to the Senate has just been discarded. And why is that? It’s because some activists want marijuana legalized and they want it legalized now, consequences be damned," he said.

Some Republicans took issue with labor provisions in the new version of the bill, in particular a change that says the government can revoke or suspend licenses issued under the new law in cases where an employer has refused to “remain neutral regarding any union organizing efforts by employees.”

During the legislative session, the Senate sought to legalize simple possession beginning in July, but House Democrats argued that legalization without a legal market for marijuana could promote the growth of the black market. The bill as passed in February would not have legalized simple possession until 2024.

Herring said Wednesday that home cultivation would give Virginians a way to legally acquire cannabis while the retail market is being put in place.

Many of the other amendments lawmakers dealt with Wednesday were minor or technical in nature and dispensed with more easily. Both chambers quickly signed off on a tweak to a sweeping voting rights measure that supporters say will protect and expand access to the ballot box. And they approved minor changes to a measure intended to improve the beleaguered unemployment system.

They also approved amendments that will allow both a gun ban on Capitol Square as well as one of the most restrictive bans in the country on the use of facial recognition technology to go into effect.

Both chambers signed off on a budget amendment from Northam that will fund an outside investigation into a small component of a larger controversy over the state parole board. Republicans blasted the governor's proposal as far less substantive than necessary and said it would allow the administration to keep quiet any unflattering findings.

Lawmakers also rejected a handful of the governor's proposed amendments. Those measures now go back to Northam, who can either sign the bills as they passed or veto them.

The General Assembly had no veto overrides to consider this year.

Northam said in a statement that this year's legislative session would be regarded as “one of the most consequential policy-reforming periods in modern Virginia history.”

“As this historic session comes to an end, I am heartened by all that we have done together to advance our priorities and make Virginia stronger, fairer, and more equitable,” he said.

Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.