Roman Carthage was destroyed following the Muslim invasion of 698, and it remained undeveloped for more than a thousand years (being replaced in the function of regional capital by the Medina of Tunis under Arab and later Ottoman rule), until the establishment of the French protectorate of Tunisia in 1881.