Desegregation of the military refers to the process of eliminating racial segregation within the armed forces of the United States, allowing individuals of all races to serve together in an integrated environment. This significant change began to take shape during World War II but was officially enacted with President Harry S. Truman's Executive Order 9981 in 1948, which mandated equality of treatment and opportunity in the military regardless of race. The desegregation efforts symbolized a broader movement toward civil rights and equality in America, reflecting a changing social landscape during and after the war years.