This is an archived article that was published on sltrib.com in 2015, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

A Magna man who was shot and wounded four years ago after allegedly charging at two Unified Police officers with a metal pipe has been released from the Utah State Hospital after treatment failed to restore his mental competency.

Louis Gregg, 52, is now free on a civil commitment, although the criminal case against him is still pending.

On July 7, 2011, Gregg was shot in the shoulder and the hip by UPD Officer J. Timpson when Gregg allegedly charged at Timpson and another officer. Salt Lake County District Attorney Sim Gill later found the shooting was justified.

The officers were responding to a call about a possible protective order violation near 2800 S. Patricia Drive (8350 West) when Gregg came at Timpson with the pipe saying he going to "break every bone in his face" and "kill him," according to the district attorney's report on the shooting.

Gregg was charged in 3rd District Court with two counts of aggravated assault and one count of stalking, all third degree felonies, and misdemeanor counts of threats of violence and interfering with an arresting officer

But a judge quickly determined Gregg was not competent to proceed with the criminal case and he was sent to the state hospital in October 2011 for treatment. During subsequent court reviews, Gregg continued to be found incompetent.

Last October, attorneys stipulated that Gregg would be civilly committed to the hospital, but reviews continued in the criminal case.

On June 10, Judge Paul Parker found Gregg was still incompetent to stand trial, and that he was "not likely to be restored to competence."

Gregg was released from the hospital on June 18, following a civil proceeding which determined he was not a danger to himself or others.

On Monday, Gregg appeared in court, out of custody, and Parker scheduled a review hearing for June 13, 2016. As that date approaches, prosecutor Steven Gibbon said he expects the judge will order a new competency evaluation to be preformed.

Gibbon told The Tribune on Tuesday, "The criminal case is still pending, but we can't move it forward."