A 15-year-old student faces charges of attempted first-degree murder and assault with a deadly weapon with intent to kill after a shooting that injured a 15-year-old girl at a North Carolina high school.

Cumberland County sheriff's spokeswoman Debbie Tanna said Tuesday the teen is being held in a juvenile facility.

Eighteen-year-old Ta'Von McLaurin, also a student at the school, was scheduled to appear in a Fayetteville courtroom Tuesday afternoon on a charge of felony aiding and abetting.

Surveillance video helped lead authorities to two suspects who have been charged in the shooting of a 15-year-old student at a North Carolina high school.

The video showed the 18-year-old and 15-year-old suspects carrying the rifle inside Cape Fear High School, Cumberland County Sheriff Earl "Moose" Butler said.

Fifteen-year-old Catilyn Ambercrombie was standing in a breezeway outside the cafeteria when she was shot Monday. She underwent surgery and was listed in stable condition.

Butler said investigators don't think Abercrombie was the intended target, but no motive had been established.

"Why did they shoot? I don't know," Butler said.

An officer assigned to the high school was standing near Abercrombie when she was shot around 1 p.m. and immediately called 911, Tanna said.

The high school and nearby Mac Williams Middle School were locked down for hours before students were allowed to go home.

Classes resumed as usual at both schools Tuesday. Butler said additional deputies were at the school to help students and parents feel confident about their safety.

While the high school has metal detectors, Butler said he didn't know if they were used on a daily basis.