Even though the territorial kingdoms like Babylon were more powerful than any cities that had come before, and even though Babylon was probably the world's most populous city during Hammurabi's rule, it wasn't actually that powerful, and keeping with the pattern is was soon taken over by the formerly-nomadic Kassites. 