Egypt and Mesopotamia were two of the world's earliest city-based civilizations, forming the foundation for Middle Eastern and Western history. Though they shared many broad similarities, such as agricultural society, polytheistic religions and written traditions, they also had many differences. These contrasts included geographic orientation, cultural emphases, political organization and other aspects.