Michael Hayden (born March 17, 1945) is an American politician, writer and military personnel. He was the head of the CIA from 2006 to 2009. On 24 May 2006, he was voted as the new head of the CIA by the United States Senate. He was the director of the NSA from 1999 to 2005. The NSA and CIA are both spy agencies. He has worked as a spy since 1970.