A man was successfully evading arrest for burglary until he sent friends a Snapchat that revealed he was hiding in a cabinet during a police search.

Just as the Somerset, Maine, police were wrapping up what they thought was an unsuccessful search, they received phone calls from people who followed the alleged thief, Christopher Wallace, 24, on Snapchat. According to the police, Wallace shared very specific details about his hiding place in his message.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

“A search of the kitchen cabinets turned up some food, some pots and pans, and also a pair of feet,” the police explained on its Facebook page. “The pair of feet just so happened to be attached to a person, and that person was Christopher Wallace. He was removed from the cabinet, and placed under arrest.”

This was Wallace’s second social media gaffe of the day. Earlier Wallace posted to Snapchat that he had returned to his house after weeks on the lam. He allegedly stole a propane cook stove and cast iron wood stove from a campground in January, the Bangor Daily News reports.

Also arrested was 20-year-old Erika Hall, the police’s Facebook explains, for the following: “Hindering apprehension, because…well…let’s put it this way, when the police ask you multiple times if someone is in the house, and you answer repeatedly that they are not in the house, and that you have not seen said person in ‘weeks’, you’re just going to get arrested. That’s how it happens.”

Moral of the story? “Always remain humble, my friends.”

Read next: 8 Outstanding Google Tools You Should Know About

Listen to the most important stories of the day.

Contact us at letters@time.com.