Sentence 1:In later conflicts , the United States Army used black soldiers in the Spanish -- American War and in World War I . Sentence 2:However , when the United States Army Air Service was formed , only white people were allowed .