SACRAMENTO, Calif. (AP) – California’s state budget includes $5 million for a gun violence research center at the University of California.

The Assembly and Senate approved the research funding Thursday as part of several pieces of budget-related legislation.

READ MORE: Footage Released Of Carjacking Suspect's Assault On Sacramento Sheriff's Deputy

Gun-violence researchers have long complained that funding is hard to find since Congress in 1996 prohibited the Centers for Disease Control and Prevention from paying for gun research.

READ MORE: President Biden Releases Federal Funds To Aid Fire Hose Shortage In California

Democratic Sen. Lois Wolk of Davis says violent acts including the weekend mass shooting at a nightclub in Orlando, Florida has left people searching for answers. She says scientific data and methods can help provide them.

Gun-rights advocates were opposed, saying the research would be used to bolster more gun control laws.

MORE NEWS: Thief Takes Off With Antelope Woman’s Bright Yellow Cotton Candy Trailer

Copyright 2016 The Associated Press.