Neil Goldberg, a senior producer at ESPN, was arrested in Farmington, Conn. after he was caught masturbating while watching his female neighbor getting dressed through her window, according to police.

Police said the 52-year-old admitted to peering through her window and pleasuring himself, Courant.com reports. He was charged with public indecency, simple trespass, disorderly conduct and breach of peace.

A woman allegedly caught Goldberg standing on a stool while looking through his neighbor's window. When Goldberg saw the woman, he apparently went back inside his home.

Goldberg, who produces ESPN's motorsports coverage, was released on a $1,000 bond.