A 13-year-old boy studying in class 8 allegedly committed suicide after losing the class leader election held recently at his school. The deceased has been identified as Charan and was found dead on the railway track at Ramannapet area on Friday. He went missing since Thursday evening.