President Obama shook hands with longtime U.S. enemy and Libyan President Muammar Qadaffi at a dinner at the G8 summit on Thursday.

As the leaders of a number of countries prepared to take a group picture, the president shook Qadaffi's hand.

Obama came under fire from Republicans for chatting with and shaking hands with Venezuelan President Hugo Chavez at the Summit of the Americas earlier this year.

--Sam Youngman