The California Senate on Wednesday approved legislation requiring that police officers be trained in ways to avoid using lethal force.

According to KTLA-TV, the measure passed unanimously and now moves on to the House.

If the bill becomes law, police agencies would have to adhere to statewide requirements that officers be instructed in ways to de-escalate confrontations. Officers would also be required to receive training in dealing with individuals who are homeless, mentally ill, in distress, or under the influence of drugs or alcohol.

The bill is one of two pieces of legislation addressing police use of force in California.