A Minnesota man’s love of social media derailed his plan for a clean escape.

According to Chicago’s WLS-TV, James Wood returned to his St. Paul home on Thursday morning to find it had been burglarized. As he surveyed the situation, he noticed that Facebook was open on his computer and it was logged into an account that didn’t belong to him. 

The account actually turned out to be that of the man who allegedly broke into Wood’s home. Wood used the open account to update the man’s status and ask his friend for his contact information.  

The suspect was eventually identified as Nicholas Wig of Minnesota. Wig was arrested by authorities after being identified online, reports E! News. He is now facing a $20,000 fine and up to 10 years in prison if he is convicted.