In January 2009, newly elected President Barack Obama nominated Panetta for the post of CIA Director. Panetta was confirmed by the full Senate in February 2009. As director of the CIA, Panetta oversaw the operation that brought down international terrorist Osama bin Laden. On April 28, 2011, Obama announced the nomination of Panetta as Defense Secretary, to replace the retiring Robert Gates. In June the Senate confirmed Panetta unanimously and he assumed the office on July 1, 2011. David Petraeus took over as Director of the Central Intelligence Agency on September 6, 2011.