After World War II, defending America in the modern world required new intelligence agencies, the unification of the armed services under a massive new Defense Department, and later the creation of new civilian organizations with some defense functions, such as NASA and the Energy Department.