Did you know that policemen in Kansas until now can have sex while at work?

Well, no more as the state of Kansas has a law on its books making it a criminal offense for law enforcement officers to have sex “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.”

This was not illegal before and was referred to as a “loophole.”

The bill was introduced in the Kansas House by State Rep. Cindy Holscher (D) in February 2018.

ALSO READ: Police Foil Terror Attack In France

You might be surprised to learn that it still isn’t a crime in 32 other states. Apparently, it was a surprise to Kansas lawmakers, too.

State Rep. John Carmichael (D), for instance, said “Those of us who have been there for a few years thought it was something that had already been taken care of in the law.”

Kansas was the 33rd state before Gov. Jeff Colyer (R) signed Holscher’s amendment into law on Thursday.