A Lynchburg firefighter who was called to help with a car accident ended up in police custody over the weekend.

Joshua Lee Mata was arrested Sunday and charged with driving under the influence of alcohol. A public-sector employee in Bedford County with knowledge of the situation tells WDBJ7 Mata was operating an emergency vehicle owned by the Brookville-Timberlake Fire Department at the time of his arrest.

Mata is a first captain at the Brookville-Timberlake Fire Department. Last weekend he was called to help with an accident just a few miles away from the fire house in Bedford County.

While Mata was at the scene of the accident, a police officer administered a breathalyzer test. According to his arrest record on the Blue Ridge Regional Jail website, Mata’s blood alcohol level registered between .08 and .14., which is above the legal limit to drive a vehicle in Virginia. He was charged with a first offense of driving under the influence.

In addition to volunteering with the Brookville-Timberlake Fire Department, Mata is also an employee of the Lynchburg Fire Department. A source with the department confirmed Mata was not on duty with the Lynchburg agency Sunday.