Obama was the fourth U.S. president to be awarded the Nobel Peace Prize, after Theodore Roosevelt (1906) and Woodrow Wilson (1919)—both of whom received the award during their terms—and Jimmy Carter (2002), who received the award 21 years after leaving office. - wikipedia

Thanks for the correction!