BELOIT, Wis. -

A 15-year-old boy with a semi-automatic handgun at Beloit Memorial High School was taken into custody Friday, according to a release from Beloit police.

Police said they were following up on a complaint related to a threat when they made contact with the student at the school. The boy was arrested at about 12:45 p.m.

Officers said the gun was reported stolen earlier in the day from a home on the city’s west side.

The boys will be held in secure detention until a court hearing early next week.