When Charles married Catherine of Braganza in 1661, he acquired English Tangier as part of her dowry and Peterborough was sent there as its Governor, arriving 29 January 1662 in command of a regiment of foot which he raised in England (and which would become known as the Tangier Regiment), Harley's (ex-Parliamentary) regiment from Flanders, and remnants of Royalist regiments, also from Flanders. The force was ill-equipped, lacking basic supplies of fuel, beds, cooking-pots and ordnance equipment. In April 1662, he concluded a treaty with the Moors under Ahmad al-Khadir ibn Ali Ghaïlan but, in a disastrous sally out (3 May 1662), his force was soundly defeated. Confining the rest of the troops within the city walls, he himself returned to England unexpectedly, arriving in Plymouth on 8 June 1662. He was sent back, with some reinforcements, but was recalled in December of that year and replaced by Andrew Rutherford. He himself was awarded a generous pension.