SACRAMENTO, Calif. (AP/CBS13) — A week after nine people were killed in a San Jose mass shooting, the California Assembly on Thursday failed to pass a bill that would have raised taxes on handguns and ammunition.

The bill by Assemblyman Marc Levine, a Democrat from San Rafael, would have imposed a 10% tax on the sales price of handguns and an 11% tax on the sales price of rifles, precursor parts and ammunition.

READ MORE: Body Of Missing UC Davis Graduate Catherine Serou Found In Russia, Reports Say

The tax would have applied to retailers, not consumers. But a legislative analysis of the bill said retailers could have passed that cost along to buyers. The Assembly Appropriations Committee estimated it would have generated $118 million per year, with the money going toward gun violence prevention programs and research.

A majority of the Assembly’s 80 members voted for the bill. But because the bill would create a new tax, it required a two-thirds vote. The bill fell five votes short of the 54 required for passage. Democrats control 59 votes. But several Democrats come from more moderate districts, making a tax increase on guns a tough vote for them.

The mass shooting happened at Santa Clara Valley Transportation Authority rail yard in San Jose. Assemblyman Alex Lee, a Democrat from San Jose, read the names of each victim on the Assembly floor as he urged his colleagues to support the bill.

READ MORE: Events Around Sacramento Celebrate First Nationally Recognized Juneteenth

“We continue to see the breaking news headlines of yet another mass shooting in our nation on a nearly weekly basis. And frankly, I’m sick of it,” he said.

In a letter to lawmakers, the pro-gun group Gun Owners of California wrote that the bill wasn’t fair because it sought to “penalize the lawful for the misdeeds of the unlawful.’

Levine, the author of the bill, said his goal was in part a response to the increase in gun sales and gun violence since the beginning of the coronavirus pandemic.

MORE NEWS: Saturday Night Fever: Enjoying A Night On The Town After California COVID Restrictions Lifted

California already imposes a fee of $37.19 on gun sales, which includes a fee for background checks.