A Fort Lauderdale elementary school was placed on a code red lockdown after a 7-year-old child brought a gun to school Friday morning, officials said.
Fort Lauderdale Police officials said officers responded to Dillard Elementary School around 8 a.m. after employees received information about a gun on campus.
The school's guardian was able to speak with the child and find the handgun, which was secured.
Officials didn't say whether the gun was loaded.
Get South Florida local news, weather forecasts and entertainment stories to your inbox. Sign up for NBC South Florida newsletters.
The child was detained and the school was placed on a code red lockdown, which was later downgraded to code yellow before operations returned to normal, officials said.
In a statement, Broward County Public Schools officials said another student at the school alerted staff about the gun.
"The student involved will face appropriate school disciplinary measures. The District commends the student who did the right thing - seeing something and saying something. At all times, the safety and security of our students and staff are our highest priorities," the statement read, in part.
Police said the boy was interviewed by detectives and won't be charged. Detectives have also been in contact with the boy's parents, officials said.
Check back with NBC 6 for updates.