Barack Obama was elected President of the United States Nov. 4, 2008, and was sworn in on Jan. 20, 2009. The Democrat from Illinois served as a U.S. senator and state senator prior to his election. He is seeking re-election after his term ends in 2012.