A man was shot and killed at a gas station in Frederick County after police say he stole an SUV in Baltimore and rammed into a police cruiser. (WUSA9)

A Maryland State Police trooper with the aviation unit shot and killed a man Monday morning in the Frederick area, authorities said.

The incident began about 8 a.m. at a Sheetz store in the 1300 block of East Patrick Street.

An unidentified state trooper pulled into the store’s parking lot in a marked vehicle and was heading into the store when he noticed a gold Lincoln Navigator with expired tags. When he ran a records check on the vehicle, he found that it had been reported stolen in an armed robbery Sunday night in Baltimore, state police said.

He called for backup. A trooper from the state’s aviation command — identified as Trooper 1st Class William B. Jansen — came in an unmarked vehicle from a nearby hangar to the parking lot, and the two watched the SUV.

About 8:40 a.m., a man got out of the Lincoln and went to the back of the vehicle. The man put on a shirt, and the two troopers approached him from their respective vehicles. The man ran and jumped into his SUV as he spotted law enforcement.

At the same time, an officer with Frederick’s police department was approaching the scene in his vehicle when the SUV rammed it. The SUV hit the police car with such force that it drove the vehicle up over the curb and into the grass, pinning the officer, according to Greg Shipley, a spokesman with the state police.

The driver of the SUV jumped out of the vehicle before it stopped moving, and the two troopers approached him on foot. A confrontation occurred, Shipley said. Authorities said preliminary information is that the man had one or both hands in his pockets and continued to ignore troopers’ orders to show his hands.

One witness told investigators that the man pulled his hand out quickly and rapidly lunged toward the trooper, according to a State Police news release.

At that point, Jansen fired his issued Glock .40-caliber pistol, striking the man in the torso.

Shipley said the trooper fired more than once and struck the man. It was not known exactly how many times the trooper fired. The trooper who fired and another aviation trooper who arrived on the scene began administering emergency aid. Rescuers arrived and pronounced the man dead at the scene.

A large folding knife was found with the man, state police said.

Authorities at the scene also found the driver’s license of a man who Baltimore police detectives have confirmed was the victim in a non-fatal shooting in the city in July, as well as cash, a crack pipe, clothes and other personal items.

Any connection between the license and the man in the SUV was not disclosed.

The SUV driver’s name was withheld pending notification of his relatives, and the case is under investigation.

The Frederick police officer who was pinned in his car was taken to a hospital. His condition was not immediately known.

Victoria St. Martin contributed to this report.