The National Security Act of 1947 expressly forbids active or recently retired generals from serving as the secretary of defense. The ban was waived only once before, in September 1950, to permit George C. Marshall to reorganize the US armed forces, which were demoralized after their humiliating retreat down the Korean Peninsula.