Fratricide, sometimes called “blue-blue” or in colloquial civilian “friendly fire”, has been a terrible and unfortunately, not completely avoidable aspect of warfare probably as long as organized conflict has existed.
During WWII the ranges over which naval battles were undertaken expanded immensely, and the first steps to develop electronic technologies allowing battle without hitting visually-unseen friendly assets were started.
Since WWII, from time to time this has still been a challenge. An added burden is rare instances when antagonists are using the same warships, aircraft, and electronics – as during the 1974 Cyprus conflict.
(USS Harwood (DD-861) during WWII.)
(TCG Kocatepe, the ex-USS Harwood, on fire during the 1974 Cyprus conflict.)


