Between April and June 1563 the Regency of Algiers launched a major military campaign to retake the Spanish military-bases of Oran and Mers el Kébir on the North African coast, occupied by Spain since 1505.