Lagos , Nigeria ( CNN ) -- An attack that killed 25 people , mostly students , at a Nigerian school Monday night appeared to be `` an inside job '' in which the gunmen called out the names of their targets , a police spokesman told CNN Tuesday . `` The attackers went to the houses of the victims , called them out by their names and killed them , '' Adamawa State Police spokesman Mohammed Ibrahim said . `` They used guns and knives on the victims . '' Some of the victims ' throats were slit , he said . The armed men attacked a student facility at the Federal Polytechnic , a university in Mubi , Nigeria , Nigeria 's National Emergency Management Agency spokesman Yuhau Shuaib said . Suicide bomb kills 2 at Nigerian church . Among the 25 killed were 19 Federal Polytechnic students and three students from the School of Health and Technology , Ibrahim said . The three others killed were a school official , a former military man and an older gentleman , he said . Investigators are trying to determine if the attack was related to upcoming campus elections , he said . `` We believe this was an inside job . '' `` By God 's grace , in the next few days we will have some suspects , '' he said . Mubi is in northeast Nigeria near the border with Cameroon . Opinion : Nigeria is a sinking ship , but we must not desert it .
NEW : The 25 people killed include 22 students , a police official says . NEW : `` We believe this was an inside job , '' the official says . NEW : Attackers called victims out by their names and killed them , '' he says . The attack happened at a university in Mubi , Nigeria .