Set in an advantageous location at the head of a gulf in a deep indentation midway along the western Anatolian coast, the city has been one of the principal mercantile cities of the Mediterranean Sea for much of its history.