(Associated Press) A California lawmaker wants to tax OxyContin and other prescription opioids to fund rehabilitation services for people addicted to opioids and heroin.

Assemblyman Kevin McCarty on Wednesday announced AB1512, a bill to create a 1 cent-per-milligram tax on prescription opioids.

McCarty’s office estimates the tax would generate tens of millions of dollars for addiction rehabilitation and prevention programs run by California counties.

If the bill passes, the Sacramento Democrat said California could be the first state to enact such a tax. Similar legislation has been proposed at the federal level and in three other states: Connecticut, Minnesota and Pennsylvania.

More than 2,000 people died of opioid overdoses in California during 2014, according to the California Department of Public Health.

Note: Read our discussion guidelines before commenting.