A man is in critical condition after he was shot by an officer Wednesday following an alleged robbery at a Mexican restaurant in Kearns.

Unified Police Department detectives responded to Fiesta Olé, at 4098 W. 5415 South, on a robbery call at about 1 p.m. James Lyle Kuehn, who was reportedly armed with a knife, took off when he saw the officers, said UPD Sgt. Melody Gray.

Police confronted Kuehn at a nearby house, and he reportedly threatened them. Gray said she did not know whether he had a weapon at that point. One officer fired his gun, Gray said, hitting him. Kuehn, 61, was taken to a nearby hospital.

Officers retrieved a knife from the scene, Gray said.

The incident is now under investigation by the Salt Lake City Police Department.

Kuehn has an extensive criminal history — stretching back to 1987 in Utah — that includes dozens of misdemeanors for theft and possession of drugs. One was filed as recently as Sept. 10.