Gunmen in northern Nigeria set fire to a staff residential building at a girls’ secondary school on Sunday but the 195 students sleeping in their nearby dormitories were unharmed, police and a teacher said.

The attack in Bauchi state came less than a week after Boko Haram Islamists kidnapped 129 teenage schoolgirls from the Chibok area of Borno state in the northeast. Forty-four of those girls have since escaped.

“At about 2:30 am (0130 GMT), unknown gunmen carried out coordinated attacks in Yana town,” Bauchi’s police spokesman Haruna Mohammed said.

They burnt “several buildings including a staff quarters of a girls’ secondary school, an eight-block police quarters, a sharia (Islamic law) court and the local government secretariat,” he told AFP.

Mohammed said it was not clear who carried out the attack and provided no details on casualties.

Boko Haram, an extremist group fighting to create a strict Islamic state in northern Nigeria, has attacked Bauchi many times in an insurgency that has killed thousands since 2009.

A teacher at the school who requested anonymity said the attackers appeared to have deliberately avoided the student residential buildings.

“The gunmen only attacked the teachers’ quarters but did not go near the girls’ hostels,” he said.

“We have 195 students staying at the hostels who are writing their (end-of-term) exams, but none of them were affected,” he continued.

“It is a great relief, considering what happened in Chibok.”