Residents reported that the gunmen were jihadists who had previously preached in the community, demanding that villagers abandon allegiance to the Nigerian state and adopt Sharia law under their extremist interpretation.