Answer
Leon Panetta became the Secretary of Defense in 2011, serving under President Barack Obama. He previously held the position of Director of the Central Intelligence Agency (CIA) from 2009 to 2011. Panetta's appointment as Secretary of Defense marked a significant shift in the Obama administration's approach to national security, as he was seen as a more experienced and pragmatic choice compared to his predecessor, Robert Gates.