A Democratic congresswoman is pushing legislation that would give states that have legalized marijuana the authority to bypass the federal government’s ban on the drug.

Rep. Suzan DelBene of Washington said last week her bill would bridge the differences between state and federal law by allowing states that are “effectively” regulating marijuana to waive the U.S. government’s central drug control law for up to three years.

“These waivers will ensure people in states that have different laws than the federal government on marijuana are protected from prosecution, provided they meet certain requirements, as more and more states work to regulate marijuana in their own borders,” DelBene said in a statement.

Currently, 23 states and Washington, D.C., have legalized some form of marijuana while a handful of others.