MAIDUGURI, Nigeria (AP) — Witnesses and Nigeria's military say Islamic extremists killed eight people in an attack targeting teachers and Muslim clerics.

The military spokesman warned Thursday the Boko Haram terrorist network plans more "massive attacks" aimed at their stronghold in the northeastern town of Maiduguri.

Lt. Col. Sagir Musa says the attacks are plotted to coincide with Muslims marking the final week of fasting in the holy month of Ramadan.

School teacher Bala Anjikui says the militants used knives to kill victims in Tuesday's attack on Bui town nearly 200 kilometers away to avoid gunshots attracting soldiers.

Nigeria declared a state of emergency on May 14 to fight an Islamic uprising by militants in the northeast who want to impose Islamic law. Nigeria is divided almost equally between Muslims and Christians.