Charges have been filed against one of two men who were beaten back by a store owner during an armed robbery in Logan Square this week.

Cornell Mack, 53, has been charged with attempted first-degree murder, armed robbery and discharge of a firearm, police said.

He and another man walked into the Quizhpe's Gifts and Sports in the 2200 block of North Western Avenue Tuesday afternoon and held up Luis Quizhpe and his brother-in-law Luis Ernesto Aucaquizhpe at gunpoint, according to police.

They wounded Quizhpe before he fought off the gunman with a baseball bat and Aucaquizhpe chased them out of the store with a fire extinguisher. Quizhpe was shot in the leg and was recuperating at home this morning.

Mack was accidentally shot in the abdomen by the gunman, who remained at large as of Thursday, police said. Mack was arrested at Stroger Hospital, where he had shown up Tuesday evening claiming to have been shot on the South Side.

During a hearing today, Judge Laura Sullivan set bail for Mack at $750,000 in his absence.

Assistant State’s Attorney Erin Antoinetti said Mack and the other robber entered the store at about 5:30 p.m. The accomplice pointed a gun at Quizhpe and Aucaquizhpe while Mack went behind the counter and started removing money from the cash register, Antoinetti said.

During a struggle with Quizhpe, the gunman fired and hit Quizhpe in the leg and Mack in the abdomen, Antoinetti said.

“Defendant Mack tried to get out of the store but was unable to because of the security system,” Antoinetti said. The accomplice was able to hit the security buzzer, even though he was repeatedly hit by a bat by Quizhpe, she said. Mack was taken into custody at Stroger and “gave an admission to police,” Antoinetti said.

Mack has an extensive criminal history that includes a 2007 conviction for possession of a stolen motor vehicle, for which he was sentenced to six years in prison. He also has two felony narcotics convictions and a 1994 conviction for aggravated stalking.

Reached at his home this morning, Luis Quizhpe said he hoped the quick arrest acts as a deterrent. "Hopefully (the robbers) won't have the chance to commit those things again," he said. "Who knows how many victims are out there or could be."

Still, he said the arrest "doesn't really make me feel better. You have to put it in God's hands. God was with me and he was the one who permitted me to defend myself and get away. I hope this leads to changes and for things to calm down and reduce crime."

But his wife Aida Quizhpe said she was happy. "Thank God that justice is there so they can't be doing more harm to more people who are struggling to make an honest living without doing harm to anyone.

"They had decided to fire so many shots," she added. "I don't think your ordinary criminal does that."

She said the gunman lacked a basic respect for life. "Only God should take our life," she said. "I don't wish them any harm but I want justice to be served. We will continue crying and praying for them."

"They probably didn't get the education or love from their parents, Aida Quizhpe continued. "They must have missed out on a lot a love. I feel that people who are surrounded by a lot of love, love people and don't want to hurt anyone."

Luis Quizhpe was released from Advocate Illinois Masonic Medical Center Wednesday night and was resting at home.

"I'm happy and grateful that I'm back with my family," he said. "I feel happy that God has given me the chance to continue until he says its time. For now it's a matter of being able to walk again." Quizhpe was shot in the upper right leg.

Quizhpe said he plans to take some time off from his business to rest and let his wound heal and spend time with his family. He said his wife will be in charge of the business for now.

"I just need to feel better," he said. "I'll just keep praying for everyone, the good ones and for the bad ones to stop doing things like this."