RALEIGH, N.C. (AP) — A wide-ranging criminal justice bill designed to push bad officers out of North Carolina law enforcement while giving others mental health assistance has passed the House.

The measure also made another effort at altering the process by which the family members of someone who died can view privately the police body camera footage of what happened.

Interest in adjusting the rules grew after the April shooting death of Andrew Brown Jr. by Pasquotank County sheriff’s deputies.

The broader measure got nearly unanimous approval on Wednesday. The Senate approved a similar version in May.