By Matt Christopherson

OXFORD TOWNSHIP, Mich. (CBS/ AP) – Ethan Crumbley, a 15-year-old student from Oxford High School, has been charged with murder, terrorism, and other counts for killing four students and injuring others.

Crumbley will be charged as an adult with one count of terrorism causing death, four counts of first-degree murder, and seven counts of assault with intent to murder.

READ MORE: Michigan EMS Agencies Seek $20M In State Funding To Address Staff Shortage

Oakland County Prosecutor, Karen McDonald did not reveal a motive for Tuesday’s shooting at Oxford High School.

McDonald said, “There is a mountain of digital evidence. Videotape, social media, all-digital evidence possible.”

Crumbley was arrested Tuesday when he surrendered as deputies approached him in the hallway of the high school.

The boy’s father on Friday bought the 9 mm Sig Sauer used in the shooting, Bouchard said. He did not know why the man bought the semi-automatic handgun, which his son had been posting pictures of and practicing shooting, Bouchard said.

OXFORD, MICHIGAN – DECEMBER 01: People bring flowers to a makeshift memorial outside of Oxford High School on December 01, 2021 in Oxford, Michigan. Yesterday, four students were killed and seven injured when a gunman opened fire on students at the school. A 15-year-old sophomore, believed to be the only gunman, is in custody, (Photo by Scott Olson/Getty Images)

The four students who were killed were identified as 16-year-old Tate Myre, 14-year-old Hana St. Juliana, 17-year-old Madisyn Baldwin and 17-year-old Justin Shilling, who died Wednesday.

Bouchard said Myre died in a patrol car as a deputy tried to get him to an emergency room.

A teacher who received a graze wound to the shoulder left the hospital, but seven students ranging in age from 14 to 17 remained hospitalized through the night with gunshot wounds, he said.

The gun the boy was carrying had seven more rounds of ammo in it when he surrendered, Bouchard said.

Undersheriff Mike McCabe said the student’s parents advised their son not to talk to investigators. Police must seek permission from a juvenile’s parents or guardian to speak with them, he added.

After the attack, authorities learned of social media posts about threats of a shooting at the roughly 1,700-student school. The sheriff stressed how crucial it is for such tips to be sent to authorities, while also cautioning against spreading social media rumors before a full investigation.

OXFORD, MI – NOVEMBER 30: Students, parents, teachers, and community members gather to hold a vigil at the Lake Point Community Church following a shooting at Oxford High School on November 30, 2021 in Oxford, Michigan. Three people were killed and six others wounded by the alleged shooter, a 15-year-old student who is now in police custody. (Photo by Matthew Hatcher/Getty Images)

READ MORE: Warren City Council Approves Redevelopment Of Old GM Plant

McCabe downplayed the significance of a situation in early November when a deer’s head was thrown off the school roof, which he said was “absolutely unrelated” to the shooting. The incident prompted school administrators to post two letters to parents on the school’s website, saying they were responding to rumors of a threat against the school but had found none.

Bouchard said the student in custody in the shooting had no previous run-ins with his department, and he was not aware of any disciplinary history at school.

“That’s part of our investigation to determine what happened prior to this event and if some signs were missed, how were they missed and why,” he said.

The district said in a statement that all schools would be closed for the rest of the week.

Isabel Flores, a 15-year-old ninth-grader, told Detroit television station WJBK that she and other students heard gunshots and saw another student bleeding from the face. They then ran from the area through the rear of the school, she said.

A concerned parent, Robin Redding, said her son, 12th-grader Treshan Bryant, stayed home Tuesday after hearing threats of a possible shooting.

“This couldn’t be just random,” she said.

Bryant said he had heard vague threats “for a long time now” about plans for a shooting.

At a vigil Tuesday night at LakePoint Community Church, Leeann Dersa choked back tears as she hugged friends and neighbors. Dersa has lived nearly all of her 73 years in Oxford. Her grandchildren attended the high school.

“Scared us all something terrible. It’s awful,” Dersa said of the shooting.

Pastor Jesse Holt said news of the shooting flooded in to him and his wife, including texts from some of the 20 to 25 students who are among the 400-member congregation.

“Some were very scared, hiding under their desks and texting us, ‘We’re safe, we’re OK. We heard gunshots, but we’re OK.’ They were trying to calm us, at least that’s how it felt,” he said.

MORE NEWS: DWSD Working To Repair Dozens Of Water Main Breaks

© 2021 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.

Matt Christopherson