AUSTIN (KXAN) — A nurse shopping at the time of a stabbing at an H-E-B on East Riverside Drive in Austin Saturday stepped in to help treat the Bastrop County deputy who was hurt, according to an arrest affidavit.

APD said officers responded to the incident at 10:43 a.m. Saturday. Police said the suspect, identified as Jaime Canales, 40, was arrested.

Austin-Travis County EMS said paramedics took two people to local trauma centers. One adult was transported with serious injuries. Another adult was transported with non-life-threatening injuries.

One of the victims was a Bastrop County deputy, who had arrived at the store for his regular shift.

According to APD, Canales shoplifted throughout the store before the stabbing, and as he was trying to leave, he was stopped by store employees. Canales returned the items and requested law enforcement, and the Bastrop County deputy approached to help with the investigation.

Police said after a brief interaction, Canales stabbed the deputy multiple times, including in the neck. An arrest affidavit stated a nurse who was shopping at the time came up to help the deputy and provide life-saving treatment afterward.

The deputy was taken to a hospital where he went through surgery and is now recovering. The deputy is also a former APD officer. A GoFundMe was set up for him and his family.

According to an arrest affidavit, as Canales tried to flee the store a second time after the stabbing, an H-E-B employee standing near the doors tried to grab him as he ran past. The records stated Canales intentionally ran into the employee, knocking them down and causing an injury to the worker’s knee.

APD arrested Canales, who police said admitted to stabbing the deputy. Security footage also caught the stabbing, according to court records. He is in the Travis County Jail being held on a $100,000 bond and is charged with attempted capital murder of a peace officer.

Canales has a history of shoplifting, robbery and assault, including attacking and threatening his mother, according to APD. In a previous shoplifting case, he physically attacked a victim and threatened to kill her. That same case was dropped from a felony offense to a misdemeanor by the Travis County District Attorney’s Office.

A spokesperson with the Travis County District Attorney’s Office said the case APD is referencing was disposed of in December 2016 by previous administration at the DA’s office.

Anyone with information about the stabbing should call Crime Stoppers at (512) 472-TIPS or use the new Crime Stoppers app.