A quick search of Wikipedia reveals several uses of black flags, but the most interesting is: «The Black Flag was flown by certain irregular
Confederate Army units in the American Civil War of 1861 - 1865 to symbolize that they would neither give, nor accept quarter; symbolizing the opposite of the white flag of surrender.»