
Quoting
Persons Certified for Intensive Treatment On 14-Day Holds
If you have been placed on a 14-day hold (5250), had a certification hearing (also known as a Gallinot hearing) and were held for additional treatment at the hearing, you are prohibited from purchasing or possessing firearms for five years under California law and for life under federal law. When you are held or certified for additional treatment as a danger to self or others, or gravely disabled, the facility is required to notify the California Department of Justice. The Department of Justice then places your name on the state mental health firearms prohibition database.
You may ask the superior court in the county in which you live for a hearing to restore your right to possess firearms under California law. At this hearing, the burden will be on you to prove that you can safely possess firearms. However, even if you have your right to purchase and possess firearms restored under California law, you may still be subject to the federal life-time prohibition.