During the Second World War, additional codes were used to include immediate details about attacks by enemy vessels, especially in the Battle of the Atlantic. The signal SSS signalled attacked by submarines, whilst RRR warned of an attack by a surface raider, QQQ warned of an unknown raider (usually an auxiliary cruiser), and AAA indicated an attack by aircraft. They were usually sent in conjunction with the SOS distress code. All of these codes later switched from three repeats of the letter to four repeats ("RRRR", etc.).