It's not often sheriff's deputies get the opportunity to say, "bad perp!"

Last week, residents in Sonoma County called police when they thought a prowler was peaking out windows of a home. When deputies arrived at the home, the prowler was just a four-legged friend trying to escape from a skylight in its home.

A Facebook post from the Sonoma County Sheriff’s Office shows the Great Dane attempting to escape from the home through an unlocked skylight.

After a "thorough investigation," the sheriff's office said the pooch was being a bad dog and wasn’t given any treats.