Section 717 - Violations -- Classifications of ...
(1) upon the first and second conviction, the person is guilty of a class B misdemeanor; or
(2) if the person has previously been convicted two or more times of a violation of this part, the person is guilty of a class A misdemeanor.