A police officer’s good deed could have cost him his life — but a nearby woman with a gun stepped in

Twitter/Carl Willis

On Tuesday night, a police officer’s attempt to help a homeless man could have turned deadly if it weren’t for a good Samaritan with a gun who stepped in to save the day.

Videos by Rare

Sergeant Randy Harkness, 52, arrived at a Georgia Chevron with a homeless man, whom he had given a ride to the gas station and was planning to also give some money to. However, as he tried to give the man a little bit of cash, the man allegedly began to physically assault him and may have even tried to reach for his gun. Luckily, a gun owner was sitting in her car nearby and sprang into action after witnessing the scene.

“She shot off a round. The guy got off the police officer, and she shot another round, and he was running that way I think, there was three shots,” said Aseem Kahn, the owner of the gas station.

RELATED: That awkward moment when an AR-15 gets stolen out of a parked police car — but wait, there’s more

After getting hit by at least one bullet, the homeless man fled across the street to a McDonald’s, where he reportedly punched a senior woman in the face and attempted to steal her car. Several helpful customers quickly subdued him until police arrived.

“They are the heroes, because they kept him from injuring anybody else,” said Sharon Cheek, the shift manager at the McDonald’s.

“It could have been worse, mate, thank you for that lady who was carrying,” Kahn added.

Sheriff Jeff Johnson also applauded the woman as a hero, saying, “I believe she, thankfully, saved this officer’s life.”

Both Harkness and the woman who was injured have been treated and released from the hospital. The homeless man, however, is still recovering and is reportedly facing numerous charges. The Georgia Bureau of Investigation and Dawson County District Attorney’s Office is currently investigating the matter in order to determine if the woman who shot the suspect should be charged with any crimes.

RELATED: A good guy with a gun walked in on a hostage situation and hit his shot under tremendous pressure

What do you think?

A Delta flight made an unplanned pit stop in Montana because passengers just couldn’t hold it in anymore

How Chicago celebrated Walt Disney’s birthday and the famous cartoonist’s connection to the city