ALBANY, N.Y. (AP) New York's highest court is set to rule whether a longtime Long Island prosecutor has to drop his re-election bid because it conflicts with a local term-limit law.

After hearing arguments Wednesday, the Court of Appeals is expected to decide within days whether Suffolk County District Attorney Thomas Spota is bound by the 12-year limit set by local voters in 1993.

Spota's attorney Thomas Garry says the prosecutors have state authority to enforce the penal law and only the state can set their qualifications.

An attorney representing Raymond Perini, his opponent in a Sept. 10 Republican primary, says state laws are silent on those term limits. Martin Connor argues that the counties where prosecutors are elected can impose them.

Spota has Democratic, independent and conservative cross-endorsements.