BEDFORD-STUYVESANT - A Brooklyn middle school student was arrested for bringing a gun to school Friday, police say.

The 11-year-old boy was taken into custody at J.H.S. 57 in Bedford-Stuyvesant. Police say he was arrested on charges of gun possession.

A spokesperson for the Department of Education says the school?s principal alerted police when the incident occurred.