Jim Spellman / WireImage 1 / 5
Jim Spellman / WireImage 1 / 5

SCHODACK, N.Y. (AP) — Seventies heartthrob David Cassidy has pleaded guilty to a misdemeanor charge of driving while intoxicated in upstate New York.

RELATED: BING: Craziest celeb arrests

Cassidy was charged last summer in the town of Schodack, near Albany. The Times Union reports he pleaded guilty Wednesday in exchange for a tentative sentence of a conditional discharge that includes 50 hours of community service in Florida, his home state.

RELATED: Stars arrested before the age of 21

Sentencing was set for Nov. 5 and depends on a pre-sentence report.

RELATED: Shia LaBeouf arrested at Broadway show, charged with disorderly conduct

In March, a judge in Los Angeles sentenced Cassidy to three months in rehab and five years of probation in a drunken-driving case stemming from a January arrest for an illegal turn.

Cassidy role on TV's "The Partridge Family" launched a singing career. He spends time in New York during the summer at Saratoga Race Course, 40 miles north of Schodack.