الحكم المستنصر بالله
Wine production continued through five centuries of Muslim rule. In 966, Al-Hakam II, the second Caliph of Córdoba, ordered the destruction of the vineyards, but the inhabitants of Jerez appealed on the grounds that the vineyards also produced raisins to feed the empire's soldiers, and the Caliph spared two-thirds of the vineyards.