CHARLOTTE, N.C. (WCNC) — The UNC Charlotte gunman plead guilty Thursday court in a Charlotte courtroom. The plea is part of a proposed deal that would spare his life, according to a family member.

A spokesperson for the Mecklenburg County, North Carolina District Attorney's Office declined to comment before Thursday's court session but Mecklenburg County District Attorney Spencer B. Merriweather III is expected to speak later today.

Without a deal, the gunman, Trystan Andrew Terrell, could have faced the death penalty.

In May, the suspect was indicted on two counts of first-degree murder. He was also charged with four counts of attempted murder, four counts of assault with a deadly weapon with intent to kill, possession of a firearm on educational property and discharging a firearm on education property.

Two students were killed and four more were hurt when the gunman opened fire in a classroom on April 30, 2019.

Read the full story on WCNC's website.