Following the breaking of the Western Roman empire, many cities began growing due to rich rulers who got in power thanks to their wealth. This led to them gaining independence and sovereignty from their original rulers. What this ultimately led to was an enormous number of city states led by rich merchants and self proclaimed kings.