As Egypt's first port city, it was the main grain exporter in the Mediterranean.