A 25-year-old motorist who was driving with the headlights off Wednesday night in the Town of Elma was charged with a felony count of driving while intoxicated, according to State Police.

It was shortly after 10 p.m. Wednesday when a trooper pulled over a sport utility vehicle on Bowen Road because its headlights weren’t on. The driver, Danielle N. Szymczak of East Aurora, appeared to be intoxicated and failed roadside sobriety tests, police said.

A breath test indicated Szymczak’s blood-alcohol content was 0.25 percent, police said.

A prior alcohol-related conviction, within the past 10 years, upgraded the DWI charge to a felony; she also was charged with a felony count of aggravated DWI because of the BAC reading which was over three times the legal limit.

Szymczak was issued tickets to appear in Elma Town Court.