AUGUSTA, Maine (AP) — A new attempt to create a legal framework for marijuana sales in Maine is up for a key vote in the face of opposition from both fans and opponents of the drug.

The Maine House of Representatives is expected to vote on the new compromise Tuesday. Lawmakers have been trying to hammer out regulations for legalized marijuana since voters chose to go legal in 2016.

The bill that's up for a vote won approval from a legislative committee earlier, but it faces an uphill battle. Republican leaders who oppose legalization because marijuana remains illegal at the federal level say they're still against it.

Some pro-marijuana activists also don't like that it would cut the number of plants a person can grow for personal use from six to three.