Jared Lee Loughner, the alleged gunman in last year’s mass shooting outside an Arizona supermarket in Tucson that killed six people and wounded then-U.S. Rep. Gabrielle Giffords, pleaded guilty Tuesday to 19 charges in exchange for the government not seeking the death penalty.

Under the plea deal, Loughner will be sentenced to life in prison with no eligibility for parole, federal prosecutors said. His sentencing is scheduled for November 15, prosecutors said.

In court, Loughner also waived his right to pursue an insanity defense.

“My name is Jared Lee Loughner,” the defendant told the court when he held up his right hand under oath.

Loughner calmly told the court he understood his guilty plea. “Yes, that is correct,” he said.

“I’m 23 years old,” he told the court. “I attended college for five years at a community college.”

Earlier Tuesday, Judge Larry Alan Burns found Loughner competent to stand trial in a federal court in Tucson.

Warning signs of violence: What to do

“He’s a different person in appearance and affect,” the judge said about Loughner, who was present in the courtroom. “He’s tracking today. He appears to assist his lawyers. Court’s own observations are that there’s no question he understands what’s happening today.”

Loughner had been facing more than 50 federal charges, and the remaining offenses will be dropped in exchange for the guilty pleas if Loughner is sentenced within the terms of the plea agreement, according to the written agreement filed in court.

Under the pleas, Loughner admitted guilt in the attempted assassination of Giffords and the murders of federal employees U.S. District Court Chief Judge John M. Roll, 63, and congressional aide Gabriel M. Zimmerman, 30, prosecutors said.

Loughner also pleaded guilty to the attempted murders of federal employees and congressional aides Ronald S. Barber, 65, and Pamela K. Simon, 63, prosecutors said.

Loughner also admitted causing the deaths of Christina-Taylor Green, age 9; Dorothy “Dot” J. Morris, 76; Phyllis C. Schneck, 79; and Dorwan C. Stoddard, 76, prosecutors said.

Loughner admitted injuring with a Glock pistol 10 persons participating at an activity provided by the U.S. government and creating a grave risk of death to 13 more persons, prosecutors said.

Prosecutors agreed to a plea deal — and not to seek the death penalty — after taking into account Loughner’s history of mental illness and the views of victims and their families.

“It is my hope that this decision will allow the Tucson community, and the nation, to continue the healing process free of what would likely be extended trial and pre-trial proceedings that would not have a certain outcome,” U.S. Attorney General Eric Holder said in a statement.

Read more