The geography of Greece, consisting of a mountainous peninsula jutting into the Mediterranean Sea, helped shape Greek culture in several ways. The terrain led to the development of independent city-states rather than a unified empire, allowing Greek culture to flourish while politics and military affairs differed between cities. Early cultures like the Minoans, Mycenaeans, and Phoenicians influenced Greek architecture, religion, shipbuilding, and literature. The isolation of the city-states also drove the Greeks to become masters of seafaring.