This ancient and renowned city had been successively in the power of the Phœnicians, Romans, Vandals, Saracens, Portuguese, and Spaniards, and it had been the scene of armed contentions and sanguinary wars, in remote ages as well as in modern times. It had formerly been celebrated as one of the most splendid cities in that quarter of the world, but had fallen from its ancient power and magnificence; and when it came into the possession of the British crown, fragments of ruins were all that remained to indicate its former grandeur. It had been much strengthened and improved by the English after their possession of it; detached forts had been constructed, and large sums of money had been granted by the parliament for improving the harbour and enlarging the defences. Much opposition had, however, been met with from the native chiefs, who availed themselves of all the means within their power for exterminating the Christian occupants of this part of Africa. The garrison had already resisted many attempts of its daring and inveterate enemies, particularly in the time of Gaylan, the usurper of Fez; but in 1680 the city was besieged by an immense force, and the Moors had the advantage of having several European renegades in their army, by whom they had been taught the art of mining and of carrying on approaches under ground. Not only the national honour and the credit of His Majesty's arms were concerned in the preservation of this fortress, but, in the event of its capture by the Moors, the Levant trade was likely to suffer some interruption from its harbour becoming the resort of pirates.

King Charles II., therefore, sent thither a battalion of foot guards and sixteen companies of Dumbarton's regiment, (now first royals,) and issued, in July, 1680, warrants for raising six independent troops of horse and a regiment of foot, to augment the garrison, and to enable it to chase from under the walls the native forces by which it was menaced.

Historical Record of the 4th, or the King's Own, Regiment of Foot from 1680 to 1839 — Part 11

The first troop of horse was raised by Major-General the Earl of Ossory, who was nominated governor of His Majesty's possessions in Africa; and the others by Lieut.-Colonel Sir John Lanier, and Captains Robert Pulteney, John Coy, Charles Nedby, and Thomas Langston.

Historical Record of the 4th, or the King's Own, Regiment of Foot from 1680 to 1839 — Part 11