Black people fought in both World War I and World War II. However, the military was segregated; black officers even had to enter some military bases through separate entrances from white officers. Black soldiers also were not given the same opportunities as white soldiers. Finally, in 1948, President Harry Truman de-segregated the military.