Sept. 23 (UPI) -- Texas Gov. Greg Abbott has signed legislation banning transgender people from accessing restrooms and other facilities, including domestic violence shelters and prisons, that align with their gender identity.

Abbott, a Republican, signed the legislation Monday, sharing a video of it on X.

"This is just common sense," he said, while holding up the signed document, showing it to the camera.

Abbott signed Senate Bill 8 after the Texas House passed it 86-45 on Aug. 28.

I signed a law banning men in women's restrooms.