A Montgomery County police officer is recovering after being struck in a hit and run on Wednesday night in Silver Spring, Md.

The officer was hit on New Hampshire Road and Piney Branch Road at the edge of Silver Spring and Takoma Park while assisting another officer during a traffic stop around 10:30 p.m.

Police said that the officer is a 28-year-old woman and has been with the department for almost three years.

During the traffic stop, a car traveling south on New Hampshire Avenue crashed into one of the officer’s cruisers and fled the scene, officials said.

Police said the officer was transported to a local hospital with serious injuries but is expected to be okay.

The investigation is ongoing.