A man trying to elude police in Missouri ended up being betrayed by his own backside.

Liberty Police Department officers over the weekend were searching vainly for a man wanted on a warrant charging possession of a controlled substance, according to the Kansas City Star. The suspect might have gotten away, if he hadn’t been betrayed by his own butt.

It seems the man let out a huge fart right at the wrong time, allowing officers to sniff out where he was hiding, authorities said. Cops didn’t release the man’s identity.

The nearby Clay County Sheriff’s Office got wind of the arrest and decided to turn it into a cautionary tale, presumedly to discourage others from engaging in criminal behavior (or at least avoiding beans before any illegal activity):