(a) Except when directed to proceed by a law enforcement officer, every driver of a vehicle approaching a stop sign shall stop at a clearly marked stop line, but if none before entering the crosswalk on the near side of the intersection, or, if none, then at the point nearest the intersecting roadway where the driver has a view of approaching traffic on the intersecting roadway before entering it. After having stopped, the driver shall yield the right of way to any vehicle in the intersection or approaching on another roadway so closely as to constitute an immediate hazard during the time the driver is moving across or within the intersection or junction of roadways.
(b) Except as otherwise provided in this subsection, whoever violates this section is guilty of a minor misdemeanor. If, within one year of the offense, the offender previously has been convicted of or pleaded guilty to one predicate motor vehicle or traffic offense, whoever violates this section is guilty of a misdemeanor of the fourth degree. If, within one year of the offense, the offender previously has been convicted of two or more predicate motor vehicle or traffic offenses, whoever violates this section is guilty of a misdemeanor of the third degree.
If the offender commits the offense while distracted and the distracting activity is a contributing factor to the commission of the offense, the offender is subject to the additional fine established under Section 303.991 of the Traffic Code.