The man accused of shooting two people dead on a college campus has been filmed smirking as he told reporters: "I went into a classroom and shot some guys."

Trystan Andrew Terrell made the chilling remarks as he was cuffed and taken into custody on Tuesday night, shortly after two people were killed and four injured at the University of North Carolina (UNC) at Charlotte.

The shooting began around 5.40pm, when Terrell entered an anthropology class and began shooting, according to witnesses, until he ran out of bullets.

In an interview on Wednesday with local radio, UNC Chancellor Phillip Dubois named those who were fatally injured as Ellis R Parlier, 19, and Riley C Howell, 21.

Mr Dubois said that three of the injured students had undergone surgery and were expected to make a full recovery. A fourth student, who was less seriously injured, has been treated and released by a hospital.

Mass shootings in America Show all 8 1 /8 Mass shootings in America Mass shootings in America Camden shootings – 1949 Howard Unruh killed 13 people, including three children, during a 12-minute walk through his neighborhood on September 6, 1949, in Camden, New Jersey, when he was 28 years old. The incident became known as the "Walk of Death". Unruh was found to be criminally insane and died in 2009 after a lengthy illness at the age of 88, following 60 years of confinement. Alamy Mass shootings in America University of Texas tower shooting – 1966 Charles Whitman killed 17 people and injured 31 others in Austin, Texas. After stabbing his mother and wife the night before, he headed to the University of Texas, where he opened fire on people in the campus and streets from the observation desk. He was shot dead after a policeman and civilian reached the scene. Austin History Center, Austin Public Library Mass shootings in America Easter Sunday Massacre – 1975 James Ruppert killd 11 family members in his mother's house, which included his mother, brother and his wife, as well as their eight children. He used a magnum, two handguns and a rifle. Mass shootings in America Wilkes-Barre shootings – 1982 Former prison guard, George Banks, shot dead 13 people in Pennsylvania, including five of his own children. AP Photo/Times Leader Mass shootings in America Wah Mee massacre – 1983 Three men, Kwan Fai Mak, Wai-Chiu Ng, and Benjamin Ng, killed 13 people who were in Seattle's Wah Mee gambling club. YouTube/KIRO 7 News Mass shootings in America San Ysidro McDonald's massacre – 1984 James Huberty killed 21 people and injured 19 others after he walked in a McDonald's in San Diego. He was shot dead by a sniper after 78 minutes of him entering the restaurant. Alamy Mass shootings in America Palm Sunday massacre – 1984 Ten people were shot dead from handguns at close range in a New York home. A baby girl was the only survivor after convicted dealer, Christopher Thomas, shot three women, one teenage girl and six children in their Brooklyn home. Thomas was convicted of manslaughter and cleared of murder. He was released from prison after 32 years. Mass shootings in America Edmond post office shooting – 1986 Patrick Sherrill, a postal worker at the Edmond post office in Oklahoma, killed 14 co-workers and injured 6 others, before he shot himself. Oklahoma Highway Patrol Collection

CBS News reports that the entire campus was put on lockdown following the start of the shooting. UNC sophomore Tristan Field, who was in the anthropology classroom during the shooting, told CBS that he believes Mr Terrell sat in the room for “10 minutes” with the students before opening fire.

Mr Field described the panic as many as 50 students attempting to leave the room when the shooting began. He had also tweeted during the shooting, writing on Tuesday night “There was an active shooter in my room in the Kennedy building at UNC Charlotte, get to safety immediately.”

“Why would anyone do this?” his tweets continued. “We were just doing presentations and someone started shooting up the room. We didn't do anything but our work. Stay safe UNCC.”

On Twitter early Wednesday morning, the professor of the anthropology class said his students were in the midst of giving team presentations when the shooting began.