STAMFORD - ? A 19-year-old Stamford Academy student faced a judge Wednesday after police say he robbed a Stamford apartment and later brought a semi-automatic gun to school.

Police say Robert Fountain is responsible for the armed home invasion that took place at the Spruce Street apartment Sunday.

When officers tracked him down to Stamford Academy for questioning Tuesday, police say they patted him down due to his suspicious behavior. It is at that point, police say, they found the unloaded gun and a cell phone that were taken from the apartment robbery.