California would retain records of rifle sales, as they do now for handguns, under legislation that is headed to Gov. Jerry Brown.
Assemblyman Mike Feuer, a Los Angeles Democrat who crafted the bill, said it would allow peace officers responding to a crime at a particular address to check via database whether any long-gun owners live there.
The Assembly concurred in amendments to Assembly Bill 809 late Thursday night, 44-27. Most Democrats voted yes, most Republicans no.
The measure would take effect in January 2014.
Opponents contend that the bill is another slap at the constitutional right to own firearms, and that the measure would accomplish little because criminals do not abide by state gun laws.