The French destroyer Épée was one of a dozen Le Hardi-class destroyers built for the French Navy during the late 1930s. The ship was completed during the Battle of France in mid-1940 and her first mission was to help escort an incomplete battleship to French Morocco only days before the French signed an armistice with the Germans. After the British attack on Dakar in September, she was one of four destroyers ordered to attack British shipping, although there was only an inconclusive duel with a British destroyer. Épée helped to escort one of the battleships damaged by the British during their July Attack on Mers-el-Kébir, French Algeria, back to France in November. She was transferred back to French Morocco in May 1941 for convoy-escort duties that lasted until October.