California, where a gunman killed 12 people in a bar in Thousand Oaks on Wednesday night, has some of the strictest gun laws in the country. It was the first state to ban assault weapons in 1989 after a shooting at a Stockton elementary school left five students dead. In the wake of several recent mass shootings — including one in February in Parkland, Fla., where a gunman killed 17 students and employees at a high school — state legislators put forward at least nine new gun control bills in response. Here’s a look at the state of gun regulations in California:

Recent Legislation

• Raised the age for buying rifles and shotguns from 18 to 21.

• Imposed lifetime bans on gun ownership for those convicted of domestic violence or involuntarily hospitalized for mental illness more than once in a one-year period.

• Strengthened a law prohibiting multiburst trigger devices, including bump stocks.

• Gov. Jerry Brown vetoed two other measures. One would have prohibited the purchase of more than one long gun a month. The other would have allowed teachers and employers to petition the courts to have guns confiscated from people who are a danger to themselves and others.

Previous Regulations

• All firearm and ammunition dealers must obtain a state license. Private gun sales must be completed through a licensed firearms dealer, requiring a background check and mandatory waiting period. The state maintains permanent records of firearm sales.

• In 2016, Governor Brown signed a law expanding the prohibition on assault weapons and regulating the sale of ammunition. With few exceptions, the possession, manufacture, transfer, sale, or lending of assault weapons is prohibited within the state. The state can issue permits for the possession of assault rifles to certain law enforcement agencies or other approved individuals.