WASHINGTON (AP) -- To President Barack Obama, the historic nuclear accord with Iran is a validation of an arduous, politically fraught diplomatic gamble, one he foreshadowed before winning the White House and one that will shape his legacy long after he leaves.
The deal to curb Iran's nuclear program may prevent Tehran from developing a bomb or being the target of U.S. military action during Obama's presidency. But whether the agreement succeeds in stemming Iran's nuclear ambitions after his tenure is a far murkier question.
The sheer amount of time and political capital Obama invested in the Iran talks has fueled speculation that he had too much on the line to walk away from the negotiating table, no matter the compromises in a final deal. Obama authorized secret talks with Iran in 2012, followed by nearly two years of formal negotiations alongside Britain, France, Germany, Russia and China. His rapprochement with Iran sent U.S. relations with Israel plummeting to near-historic lows and deepened tensions with Congress.
Even with the high-stakes implications of an Iranian nuclear program at stake, the talks over time seemed to represent more than simply the quest for a deal. They were a referendum on Obama's belief that even America's most ardent enemies can be brought in line by wielding diplomacy and economic pressure instead of military might.
"It represents the core of who he is and what his presidency stands for," said Julianne Smith, a former Obama White House and Pentagon official. "He needs it to validate that approach."
With the deal now in hand, one of Obama's top priorities is selling its virtues to skeptical lawmakers and world leaders, as well as the American public. He spent much of Tuesday calling leaders in Europe and the Middle East. On Wednesday, he planned to discuss the deal in a news conference, while dispatching Vice President Joe Biden to Capitol Hill to meet with Democrats.
Senior U.S. officials say Obama is sensitive to the perception he was desperate for a deal. With big gaps remaining as a June 30 deadline neared for a final agreement, officials said the president urged his team to send clear messages to Iran both publicly and privately that the U.S. was ready to end the talks without a deal.
"He did not want people to have the impression that this is something we needed to have," one official said, adding that Obama was frequently among the most pessimistic members of his national security team about the prospects of a deal.
Officials also pointed to a video conference Obama convened with Kerry and other negotiators last week as an example of his willingness to forgo a deal. With momentum for an agreement building in Vienna and a deadline to limit congressional oversight looming, officials said Obama essentially rejected the deal at hand because timetables for keeping restrictions on Iran's nuclear program and a U.N. arms embargo in place were insufficient.
Negotiators blew through the congressional deadline and were able to extend the timelines, according to the officials, who insisted on the condition of anonymity in order to discuss the president's thinking.
Obama first planted the seeds for engagement with Iran as a presidential candidate, saying in a 2007 Democratic primary debate that he would be willing to meet with Iranian leaders without preconditions. His statements were ridiculed by Democratic rival Hillary Rodham Clinton, who went on to be his secretary of state and help jumpstart the secret negotiations with Iran.
The president's opening months in office included public and private overtures to Tehran, all with a more conciliatory tone aimed at signaling a shift from predecessor George W. Bush, who cast Iran as part of an "axis of evil."
In a veiled reference to Iran in his inaugural address, Obama said he was willing to "extend a hand if you are willing to unclench your first." He exchanged letters with Iran's supreme leader, Ayatollah Ali Khamenei. He used conciliatory language in a videotaped message to both the people and government of Iran on the Persian new year, calling for engagement "that is honest and grounded in mutual respect."
Obama has taken a similar approach — clandestine diplomacy, prioritizing negotiations over military action — to other foreign policy challenges, with mixed results. Plans to negotiate an end to Syria's bloody civil war have gone nowhere. A resumption of diplomatic relations with Cuba after a half-century of hostilities is moving along largely as planned.
Yet the stakes and the scope of the Iran effort stand apart, a reality not lost on Obama. While he talked of American strength and long-sought change Tuesday, he acknowledged in an interview with The Atlantic earlier this year that if Iran does ultimately get a bomb, "it's my name on this."