It was held by Vandals, Byzantines and Arabs, and when Mulai Idris passed from Tlemcen to Fez in 788, Tangier was "the oldest and most beautiful city" of the Maghrib.
In 1662 as part of the dowry of Catherine of Braganza on her marriage to Charles II., it came into the possession of the English, and they defended it against Mulai Ismail in 1680, but in 1684 it was decided, on account of expense, to abandon the place to the Moors.
A dethroned sultan of Morocco, named Mulai Ahmad (Mahommed XI.), offered to acknowledge Portuguese suzerainty if he were restored to the throne by Portuguese arms, and Sebastian eagerly accepted these terms. The flower of his army was in Asia and his treasury was empty; but he contrived to extort funds from the " New Christians," and collected a force of some 18,000 men, chiefly untrained lads, wornout veterans, and foreign free-lances.
At Arzila, where he landed, he was joined by Mulai Ahmad, who could only muster Soo soldiers.
Mequinez at a distance appears a city of palaces, but it possesses few buildings of any note except the palace and the mosque of Mulai Ismail, which serves as the royal burying-place.
(1880-), sultan of Morocco, son of Sultan Mulai el Hasan III.
His attempt to reorganize the finances by the systematic levy of taxes was hailed with delight, but the government was not strong enough to carry the measures through, and the money which should have been used to pay the taxes was employed to purchase firearms. Thus the benign intentions of Mulai Abdel-Aziz were interpreted as weakness, and Europeans were accused of having spoiled the sultan and of being desirous of spoiling the country.
The town has been several times unsuccessfully besieged by the Moors - one siege, under Mulai Ismail, lasting twenty-six years (1694-1720).
In May 1907 the southern tribes invited Mulai Hafid, an elder brother of Abd-el-Aziz, and viceroy at Marrakesh, to become sultan, and in the following August Hafid was proclaimed sovereign there with all the usual formalities.