whereas the first civilizations developed independently , the countries originating from them ( egypt , persia , and greece ) blossomed into empires controlling large territories and had major influences on the different cultures they spawned .