After he was suspended, O’Kroley told police, he began planning to kill Nosal and himself if he was also fired.

Then on Monday, he was fired.

On Friday, O’Kroley appeared in court, where bail was set at $1 million. He was brought into the courtroom in a wheelchair and wore a suicide prevention smock.

A former girlfriend told the Wisconsin State Journal that O’Kroley had tried to commit suicide in 2014, and that he has been seriously mentally ill for the past decade.

According to the complaint:

O’Kroley learned from text messages that he exchanged with former co-workers — on the pretext of going to collect belongings when Nosal was not at the store — that she finished work at 8 p.m. on Tuesday.

He told police that he knelt down beside her car with the gun in his hand. When he saw Nosal turn the corner, he stood up, pointed the gun at her and shot her in the chest. When she fell, he told police, he shot her once more in the head.

He told police that it was “easy” to kill Nosal, and that he killed her out of anger because she had “ruined my life.” He also described himself to police as a “sociopath.”