The ESPN producer charged last week with peering in a neighbor's window while masturbating, is no longer with the sports network.

Neil Goldberg, 52, has parted ways with the company, according to ESPN spokesperson Mike Soltys. Goldberg had been the coordinating producer of motorsports, including NASCAR, Indianapolis 500, and other IndyCar Series broadcasts.

He was arrested after a woman walking a dog spotted Goldberg allegedly standing on a stool outside the window of a Farmington home.

Goldberg turned himself in on a warrant Tuesday, Farmington police said, and admitted to masturbating while watching a woman get dressed.

He is scheduled to be in court in Hartford Wednesday to face the charges.