Didarul Sarder lost his job for pulling a gun to rescue a woman who was being stabbed to death, but he never regretted his split-second decision.

“I would do it all over again,” he told Fox affiliate WJBK. “If I could save this woman’s life over a job. I can get another job.”

Fortunately for Sarder, that won’t be necessary.

The 32-year-old has been offered his job back after his bosses at a General Motors Technical Center in Warren, Mich., reversed their unpopular decision, allowing the valet service supervisor to return to work.

The decision was praised by Warren Mayor Jim Fouts, who called Sarder a “hero” in a lengthy Facebook post commending his actions. He noted that Sarder had a valid concealed pistol license and “probably saved” a “woman from being murdered.”

“Had he not legally exercised his second amendment rights this woman would probably not be with us today,” he wrote. “He is employed by a GM contracted valet service. Right after it happened someone in authority asked him off the premises because he violated company rules with a gun. That was absolutely the wrong response to this hero. However that decision was over-ruled by higher ups and he now has his job back.

“Hero’s should be rewarded not terminated,” he added. “Didarul is a resident of Warren and a resident that we can all be proud of!”

Sarder’s wife told the Detroit Free Press that her husband has worked for the valet service for 10 years.

He was arriving at work like any other day Wednesday when he heard a woman — later identified as as Stephanie Kerr — screaming for help, according to WJBK.

WJBK reported that Warren police said the assailant, a 32-year-old woman, had come to see Kerr and that they argued in the building’s lobby, then went outside, where the woman pulled a knife, stabbing Kerr multiple times in the neck, back and abdomen. WJBK reported that the woman was later identified as Kerr’s daughter.

Sarder said he told the younger woman to stay where she was until police arrived.

“The lady kept saying ‘I’m dying, someone help’ and it was just natural reaction,” Sarder told the station. “I just see this lady getting stabbed. I only had like half a second to think and I unholstered my firearm and pointed it at her to drop the knife.”

The stabbing occurred outside an office building where Kerr works and began with an argument between the Kerr and the knife-wielding attacker. Kerr was stabbed in the abdomen, neck and back and was taken to a local hospital, where she remains in critical condition, according to authorities.

Minutes after he intervened in the attack, Sarder told WJBK that he was fired by a GM employee and quickly escorted off the property.

“I was really bummed out, you know, and got a little emotional,” he said.

Sarder told WJBK that he began working on the grounds in December and was never informed about a gun ban on the property.

“Because this is an ongoing investigation we cannot comment,” GM said in a statement, according to WJBK. “However, we can say GM has not requested the valet be dismissed. To our knowledge the valet remains an employee of the vendor.”

Now that he has his job back, Sarder told WJBK that he’s just hoping that Kerr pulls through.

“I hope she makes it,” he said. “Maybe those few seconds before the police arrived could be the difference between life and death.”