"Buffalo Soldier" is a reggae song written by Bob Marley and Noel "King Sporty" Williams from Marley's final recording sessions in 1980. It did not appear on record until the 1983 posthumous release of Confrontation, when it became one of Marley's best-known songs. The title and lyrics refer to the black U.S. cavalry regiments, known as "Buffalo Soldiers", that fought in the Indian Wars after 1866. Marley likened their fight to a fight for survival, and recasts it as a symbol of black resistance.