From Texas Standard:
In 2003, then President George W. Bush signed the Prison Rape Elimination Act. The bill required federal and state lockups to implement certain procedures and standards that would address sexual abuse behind bars. Not doing so, states would run the risk of penalties, such as the loss of federal grant money.
The final rules took effect in 2012, and the Texas governor at the time, Rick Perry, refused to sign on. However in a 180-degree reversal, Gov.Greg Abbott says the state will be brought in-line with the law.