Yes, anthrax was used in warfare during the First World War. It was primarily used as a biological weapon by the Germans, who sprayed it from airplanes over their enemies' troops. The effects of anthrax were devastating, causing fever, chills, vomiting, and, in severe cases, death.