There is but little room for doubt that Egypt led the way in the creation of the earliest known group of civilizations which arose on both sides of the land bridge between Africa and Eurasia in the fourth millennium B.C. ↗
If you take a more Darwinian point of view the dynamics of the universe are such that as the universe evolved in time, complex systems arose out of the natural dynamics of the universe. ↗