In what year was the military OFFICIALLY desegregated?

The military was officially desegregated in 1948 with the signing of Executive Order 9981 by President Harry S. Truman.