The city of Beverly Hills has agreed to train its employees on abortion clinic protections after local officials interfered with the opening of an abortion clinic in “blatant” violation of state law, according to a proposed settlement to be unveiled Thursday by California Attorney General Rob Bonta. Bonta’s office said the city’s then-mayor, city attorney, and city manager pressured DuPont Clinic’s landlord last spring to cancel the lease and that city officials also delayed permits to the clinic. They went so far as to warn the building owner that it could be liable for bomb threats and shootings at the medical office building in the wealthy city’s business district.

The Washington, D.C.-based reproductive health provider is one of a handful of clinics nationwide that advertise abortions past 28 weeks of gestation.

It had secured a lease and begun preparations to open a second U.S. location in Beverly Hills.

Concerned about potential anti-abortion protests and negative media coverage, city officials “engaged in a pressure campaign under the guise of public safety,” according to Bonta’s complaint. The actions “blatantly violated” state law, Bonta said in the complaint. It’s the state’s first action under the voter-passed initiative known as Proposition 1, which enshrined abortion rights in the state constitution.

“It’s a stark reminder that there are efforts right here in California to undermine reproductive freedom,” Bonta said in an interview.