Myers was sworn in as the 15th Chairman of the Joint Chiefs of Staff on October 1, 2001. He served as the principal military advisor to the President, the Secretary of Defense, and the National Security Council during the earliest stages of the War on Terror, including planning of the War in Afghanistan and planning and execution of the 2003 invasion of Iraq. A few days later, on October 7, 2001, Operation Enduring Freedom was initiated. Myers and General Tommy Franks, the commander of United States Central Command (CENTCOM), coordinated the early stage of Operation Enduring Freedom. Within three months, several radical terrorist groups had been toppled.