A Spanish invasion of Algiers was repelled.