After weeks of protests against law enforcement treatment of Black people, California legislators on Monday were largely unable to pass a suite of police reform measures, as the session ended chaotically.

Plagued by technology glitches, frustration and outright anger at times, lawmakers passed a proposal to have the state attorney general or another state prosecutor look into fatal shootings by peace officers.

That measure, AB 1506, authored by Assemblyman Kevin McCarty (D-Sacramento), passed with bipartisan support. Similar measures by McCarty have been squashed twice before, in part because state attorneys general, including Xavier Becerra and Kamala Harris, have opposed having their office oversee police shootings, arguing they lacked the fiscal resources and already had the ability to step in if local investigations were inadequate.