Barack Hussein Obama II served as the 44th President of the United States. He served two terms, from 2009 to 2017, and was the first African American to be elected president. Before his presidency, he served as U.S. Senator for the state of Illinois from 2005-2008 and in the Illinois State Senate from 1997-2004. He is married to Michelle Obama and has two daughters.