A woman pleaded guilty to using a false ID badge to enter a corrections facility while posing as an attorney so she could have sex with an inmate, Maryland prosecutors said.

Tiffany Weaver, 29, entered the plea Wednesday. She was charged with identity theft and use of false government identification after entering the Maryland Reception Diagnostic and Classification Center in November to meet with inmate Jason Moody. Moody is serving a 30-year sentence for manslaughter.