One of the bills, which expands a so-called “red flag” law to allow co-workers, employers and educators to seek gun violence restraining orders against firearms owners they fear are a danger to themselves and others, was vetoed twice by Newsom’s predecessor, Jerry Brown.

Newsom also signed a companion bill allowing the gun violence restraining orders to last one and five years, although the gun owners could petition to end those restrictions earlier. The bill also allows judges to issue search warrants at the same time as they grant the orders. The warrants can be used immediately if the gun owners are served with the relinquishment orders but fail to turn over the firearms or ammunition.

“California has outperformed the rest of the nation, because of our gun safety laws, in reducing the gun murder rate substantially compared to the national reduction,” Newsom said as he signed the measures surrounded by state lawmakers. “No state does it as well or comprehensively as the state of California, and we still have a long way to go.”