Obama: US will do 'what is necessary' to stop Iran

By the Associated Press | March 20, 2013 | 3:29 PM EDT

President Barack Obama and Israeli President Shimon Peres leave the stage after President Obama signed a guest book, Wednesday, March 20, 2013, at Israeli President Shimon Peres residence in Jerusalem. (AP Photo/Carolyn Kaster)

JERUSALEM (AP) — President Barack Obama is warning Iran that the U.S. will "do what is necessary" to prevent the Tehran from acquiring nuclear weapons.

Obama spoke after meeting Wednesday in Jerusalem with Israeli Prime Minister Benjamin Netanyahu (neh-ten-YAH'-hoo).

The West says Iran's program is aimed at developing nuclear weapons technology. Iran says its program is for peaceful purposes.

Iran has defied the international community's urging that it consent to nuclear inspections.

Obama arrived in Israel on Wednesday for his first visit as president to the Mideast ally.