Kansas was one of 33 states where consensual sex between police and people in their custody wasn't a crime.
That came as a surprise to members of the House Judiciary Committee, who got the new law passed in a bundled bill with several other law-enforcement measures. Gov. Jeff Colyer signed it into law Thursday.
She said it spun off the case of Lamonte McIntyre, a Kansas City, Kan., man released last year after spending 23 years in prison for a double murder he didn't commit.
The investigation in that case led to multiple affidavits alleging that the detective who made the arrest, Roger Golubski, had a long history of coercing sex from women in Kansas City's black community by threatening to arrest them or their relatives if they didn't comply.
Holscher said she was also moved by a case in New York where a teenager claimed she had been raped by two police officers in the back of their van, but no charges were filed because the officers claimed the sex was consensual and therefore legal.
The new law bans sexual relations "during the course of a traffic stop, a custodial interrogation, an interview in connection with an investigation, or while the law enforcement officer has such person detained."