HALLANDALE BEACH, FLA. (WSVN) - A Hallandale High School student wasn’t in class on Wednesday morning but instead faced a judge in court.

Police arrested 17-year-old Dwaynton Pulley at around 9 a.m. on Tuesday after he was allegedly involved in a fight with other students at the high school, located along Northwest Ninth Avenue and Foster Road.

“I was, like, nervous. I guess everyone started taking it seriously,” said a student. “That’s all that matters that everyone went home safe.”

A school resource officer intervened, and after patting down Pulley, it was discovered he was armed with a gun, police said. That’s when school administrators called in a code red.

“A couple of us were testing, and two guys were arguing and arguing, and they begin to start fighting, throwing the laptops all over the place, and somebody had a gun in their bag. He didn’t actually pull it out, but he was threatening like, ‘Oh, I got a gun in my bag,’ blah, blah, blah,” said a Hallandale High School student.

Some students said they didn’t realize what happened until there was a code red.

“We were in the classroom for, like, a whole hour, so I, like, freaked out because there was a kid with a gun in school,” said another student.

“As long as it doesn’t affect us at all learning, we’re good,” said another student.

The judge ordered Pulley held in juvenile detention for the next 21 days as the State Attorney’s Office decides whether or not to charge him as an adult.

Pulley has also been suspended from Hallandale High School as officials complete a threat assessment.

The 17-year-old’s mother told the judge that Pulley has faced threats at school.

“That a young man followed him to his classroom and started an altercation with him the very first week that he was in school, so I don’t know what’s the situation on what the problem is, and he also was in touch with me,” Pulley’s mother said.

In court, Pulley was also ordered to not have contact with the alleged victims, the school resource officer or return to Hallandale High School for the time being.

On Wednesday, a 15-year-old student was caught on cellphone video being taken into custody after, police said, he brought a pellet gun to Piper High School in Sunrise.

Students said the student took off running inside the building, causing a panic.

The judge asked Pulley’s mom to go through the house and make sure the 17-year-old has no access to weapons.

Copyright 2024 Sunbeam Television Corp. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox