Gov. Gavin Newsom on Wednesday signed two sweeping pieces of legislation targeting perceived bias in California courtrooms.

Starting in 2022, AB 3070 will give lawyers and judges new powers to scrutinize the use of peremptory challenges in jury selection if they suspect the strikes are being used to dismiss jurors on the basis of race, ethnicity, gender, sexual orientation and other characteristics.