[372] In 2015, Obama was harshly criticized by Israel for advocating and signing the Iran Nuclear Deal; Israeli Prime Minister Benjamin Netanyahu, who had advocated the U.S. congress to oppose it, said the deal was "dangerous" and "bad."[373]
On December 23, 2016, under the Obama Administration, the United States abstained from United Nations Security Council Resolution 2334, which condemned Israeli settlement building in the occupied Palestinian territories as a violation of international law, effectively allowing it to pass.[374] Netanyahu strongly criticized the Obama administration's actions,[375][376] and the Israeli government withdrew its annual dues from the organization, which totaled $6 million, on January 6, 2017.[377] On January 5, 2017, the United States House of Representatives voted 342–80 to condemn the UN Resolution.[378][379]

Libya
Main article: 2011 military intervention in Libya
In February 2011, protests in Libya began against long-time dictator Muammar Gaddafi as part of the Arab Spring. They soon turned violent. In March, as forces loyal to Gaddafi advanced on rebels across Libya, calls for a no-fly zone came from around the world, including Europe, the Arab League, and a resolution[380] passed unanimously by the U.S. Senate.