The New Hampshire House of Representatives became the first U.S. legislative body to vote in favor of legalizing marijuana for recreational use. The measure passed a preliminary vote by 170-162 on Wednesday; it now heads to committee and then goes back to the House floor for a final vote before heading to the state Senate.

Although both Colorado and Washington have passed laws legalizing recreational marijuana, they did so via voter referendums.

The New Hampshire bill, H.B. 492, would legalize the possession of up to an ounce of weed for adults over 21 years old. Under the proposed law, marijuana would be grown in licensed cultivation facilities and sold in retail dispensaries that would levy a $30 tax for each ounce of cannabis sold in the state, according to The Associated Press. New Hampshire residents over age 21 could also grow up to six plants for personal use, much like the law in Colorado.

The state Senate, however, has a conservative record on marijuana legislation votes: Last year, it rejected a bill that sought to decriminalize the possession of small amounts of marijuana, the fourth time it has done so in the past five years.

What's more, New Hampshire Governor Maggie Hassan, a Democrat, told local ABC affiliate WMUR-TV on Monday that she would veto the recreational marijuana bill if it ever reached her desk.

"We have some challenges in our state when it comes to substance abuse," Hassan said. "We need to be focusing on that, and I just think it's the wrong message to send to young people."

Still, New Hampshire residents have indicated they support the measure. A WMUR poll released in October by the University of New Hampshire Survey Center found that a full 60 percent of Granite State residents support H.B. 492.