Behavioral health clinicians will now accompany law enforcement on certain emergency responses in San Mateo County’s four largest cities, part of a pilot program seeking to keep people going through a mental health crisis from ending up in jail or emergency rooms.

The two-year program launches Monday, Dec. 6, in Daly City, Redwood City, San Mateo and South San Francisco after the county Board of Supervisors and the city councils for the four cities approved it earlier this year with the goal of ensuring risky situations can be de-escalated and the person in crisis as well as the first responders can stay safe.

The San Carlos-based nonprofit StarVista contracted with the county to train and supervise clinicians who will work with the four cities’ police departments. Dispatches will deploy the clinicians along with police officers in cases of mental or behavioral health crises.

San Mateo County’s program is one of many being developed around the Bay Area and nation as jurisdictions try to avoid violent interactions between law enforcement and people in crisis.

“The county is proud to support such an important and necessary intervention which supports the safety of the individual in crisis and those around them,” County Manager Mike Callagy said. “This provides another option for those who need mental health care rather than incarceration or hospitalization.”

The two-year program is expected to cost an estimated $1.5 million, with the four cities and the county all contributing to the funding.