Answer
Prior to assuming command of all forces in Afghanistan, McChrystal served as the Director of the Joint Staff, a senior leadership position within the United States Department of Defense. In this role, he was responsible for providing military advice to the President, Secretary of Defense, and the Joint Chiefs of Staff, as well as overseeing the coordination and integration of joint military operations across all branches of the U.S.