A woman used her legally-obtained, concealed gun to fight off a knife-wielding man with a history of mental illness who tried to kidnap her in a parking lot in Moline, Illinois last week.

The woman told police the suspect, Floyd Rick May, 61, was armed with a knife. May stabbed her in the arm as he forced his way into her car and ordered her to drive. The woman was able to grab her gun when she stopped the car—prompting the suspect to flee.

May has a history of mental illness. In 2010 he pled guilty but mentally ill to an armed robbery charge, and was sentenced to nine years behind bars, but was released in July.

Police arrested May two days after the mall parking lot attack. He has been charged with aggravated kidnapping, aggravated battery with a weapon, unlawful use of a weapon by a felon, and aggravated assault, according to Fox News. He is being held on $550,000 of bonds, according to Half Moon Bay Review.