A state trooper surveys a vehicle after a man who was shot and killed by a state trooper in a confrontation at a gas station Monday, Oct. 26, 2015, in Frederick, Md. The man was fatally shot after the sport utility vehicle he was driving rammed a police cruiser at a gas station, police said. (Graham Cullen/The Frederick News-Post via AP) MANDATORY CREDIT

A state trooper surveys a vehicle after a man who was shot and killed by a state trooper in a confrontation at a gas station Monday, Oct. 26, 2015, in Frederick, Md. The man was fatally shot after the sport utility vehicle he was driving rammed a police cruiser at a gas station, police said. (Graham Cullen/The Frederick News-Post via AP)

FREDERICK, Md. (AP) — Authorities in Maryland won’t prosecute a state trooper for fatally shooting a man at a Frederick gas station.

In a letter released Wednesday, Frederick County State’s Attorney Charlie Smith says Trooper First Class William Jansen used justifiable force in shooting 45-year-old Kevin Brunson of Baltimore on Oct. 25.

State police have said Jansen shot Brunson four times in a Sheetz parking lot after Brunson rammed a city police cruiser with a stolen SUV and then lunged at Jansen.

It isn’t clear if Brunson was holding a large folding knife police found in his possession.

Jansen is White, and Brunson was Black. Race has not been raised as a factor, but the shooting came amid a national debate about the deaths of Black men at the hands of police.