3 Nephi 3:17–19

And it came to pass that Lachoneus did appoint chief captains over all the armies of the Nephites, to command them at the time that the robbers should come down out of the wilderness against them. now the chiefest among all the chief captains and the great commander of the armies of the Nephites was appointed, and his name was Gidgiddoni.

Now it was the custom among all the Nephites to appoint for their chief captains, (save it were in their times of wickedness) some one that had the spirit of revelation and also prophecy; therefore, this Gidgiddoni was a great prophet among them, as also was the chief judge.

From section: Gadianton – Nephite Conflict

From page: Gadianton Period