Unified Police say David Q. Phan committed suicide Thursday on a corner of the school grounds in front of several other students.
Granite School District released a statement saying Phan had been in counseling for significant personal issues.
However, the student previously denied reports now circulating on social media that he had been subject to bullying.
Granite School District spokesman Ben Horsley confirms that Phan was released early from Bennion Junior High at 1:30 p.m. Thursday.
Horsley says he can't discuss the reasons for the early dismissal.
Police say Phan went home, retrieved a gun and returned to a corner of the school grounds.
(Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)