From a video which has gone viral, it can be deduced that the herdsman was caught coming into Nigeria from Benin Republic.
The herder was told to sit on the floor with the gun sitting on his lap.
They also displayed the NIN slip he was caught with, which had his face, name and other details.
He was being interrogated by the men who caught him.
Watch the video below: