The long campaign for the conquest of Crete (22 years between 1648 and 1669) also considerably enhanced İzmir's position within the Ottoman realm since the city served as a port of dispatch and supply for the troops.