https://selfhelp.courts.ca.gov/CH-restraining-order
https://www.lafamilylawattorney.com/civil-harassment-restraining-orders
The elements the moving party must prove for a Civil Harassment Restraining Order, are set forth in the Code of California Civil Procedure section 527. 6. These elements include: 1) an ongoing “course of conduct,” (in other words more than one time) which involves following, stalking or harassment (in person, by phone or email), 2) a credible threat of violence which would cause apprehension in a reasonable person, and, 3) that said conduct caused the person seeking protection to suffer substantial emotional distress.