A person is guilty of theft of services when:
Theft of services is a class A misdemeanor, provided, however, that theft of cable television service as defined by the provisions of paragraphs (a), (c) and (d) of subdivision four of this section, and having a value not in excess of one hundred dollars by a person who has not been previously convicted of theft of services under subdivision four of this section is a violation, that theft of services under subdivision nine of this section by a person who has not been previously convicted of theft of services under subdivision nine of this section is a violation, that theft of services under subdivision twelve of this section by a person who has not previously been convicted of theft of services under subdivision twelve of this section is a violation, and provided further, however, that theft of services of any telephone service under paragraph (a) or (b) of subdivision five of this section having a value in excess of one thousand dollars or by a person who has been previously convicted within five years of theft of services under paragraph (a) of subdivision five of this section is a class E felony.
N.Y. Penal Law § 165.15