MIAMI SPRINGS, Fla. -

The SWAT team converged across from a school Tuesday for a man who was barricaded inside a home.

Police said the armed man was barricaded in a home on Quail Avenue across from Miami Springs Senior High School.

"They told us a man had a gun and he was running around our school," a student told Local 10.

Police confirm that a man named William Deno was threatening a person with a handgun before barricading himself inside the home.

The standoff came to an end after about four hours. That man was taken into custody peacefully.

Miami-Dade schools police said there was no immediate danger to students at Miami Springs Senior High School, but it was placed on lockdown as a precaution.