(AP) — A judge has turned down a TV producer's request to toss out a criminal case accusing him of blackmailing David Letterman over the comic's love life.

Manhattan state Supreme Court Justice Charles Solomon ruled Tuesday on Robert "Joe" Halderman's bid to get the attempted grand larceny case dismissed.

Prosecutors say Halderman demanded $2 million to keep quiet about the "Late Show" host's affairs with staffers. Halderman says he just offered Letterman a chance to buy — and keep private — a thinly-veiled screenplay about his life.

The case spurred the late-night icon to tell viewers in October that he had slept with women who worked for him.

The 52-year-old Halderman could face up to 15 years in prison if convicted.

Poll: Hochul leading Republican rivals ... Long Ireland brewery to close ... Visiting Christmasland in Deer Park Credit: Newsday

Updated 2 minutes ago Accused cop killer in court ... Teacher's alleged victims to testify ... Popular brewery to close ... Visiting Christmasland in Deer Park

Poll: Hochul leading Republican rivals ... Long Ireland brewery to close ... Visiting Christmasland in Deer Park Credit: Newsday

Updated 2 minutes ago Accused cop killer in court ... Teacher's alleged victims to testify ... Popular brewery to close ... Visiting Christmasland in Deer Park

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME