RALEIGH, N.C. (AP) — Physical restraints like handcuffs and shackles on pregnant women and new mothers in North Carolina prisons and jails would be largely barred in a measure nearing final legislative approval.

The Senate voted unanimously on Wednesday for the regulations, which their authors say are designed to protect mother and newborns while minimizing security risks. The bipartisan measure is supported by groups across the political spectrum.

One more House vote is needed before the bill could go to Democratic Gov. Roy Cooper’s desk. Pregnant prisoners also would receive health and parenting education from prison workers.