Barack Obama took office as the first African-American president of the United States of America in January 2009.