British forces attacked the fleet of its former ally in French Algeria, killing nearly 1,300 French sailors.