Genesis chapter 14 describes Abraham waging war. The region where Abraham was living at that time had many kings. Of these kings, Amraphel king of Shinar, Arioch king of Ellasar, Chedorlaomer king of Elam, and Tidal king of nations had gone to war against Bera king of Sodom, Birsha king of Gomorrah, Shinab king of Admah, Shemeber king of Zeboiim, and the king of Bela (that is, Zoar). So, four kings fought against five kings. This took place in the ancient tribal age. It was a time when the political system was decentralized into small tribes, each with its own king. So the small area of Sodom had its own king, and other nearby regions also had their own kings.