Jared Lee Loughner's guilty plea allows him to avoid the death penalty (AP)
The suspect in a mass shooting which wounded an America congresswoman has pleaded guilty to going on the rampage that killed six other people.
Jared Lee Loughner's plea in Tucson, Arizona, allows him to avoid the death penalty over a shooting that gained worldwide attention in January 2011 because his intended target was Republican Gabrielle Giffords.
Among the dead were Arizona's chief federal judge and an aide of the congresswoman.
Federal Judge Larry A Burns had previously found that Loughner was mentally unfit to stand trial.
He ruled on Tuesday that months of forcibly medicating him to treat his schizophrenia made him competent to understand the gravity of the charges against him and assist in his own defence.
Loughner is expected to be sentenced to life in prison without parole.