WASHINGTON (AFP) - The surprise first phone contact on Friday between Presidents Barack Obama and Hassan Rohani was not only a dramatic moment in United States-Iranian ties, but also in the field of digital diplomacy.
Moments before the US leader announced from the White House podium that he had a chat with his opposite number, the Iranian President had sent a tweet that could live in history.
"In a phone conversation b/w #Iranian & #US Presidents just now: #HassanRohani: 'Have a Nice Day!' @BarackObama: 'Thank you. Khodahafez,'" it read.
Mr Rohani's account appeared on Twitter after his election this year and his English-language messages have become a symbol of Tehran's diplomatic outreach.
There has been some controversy about the account at home. It has not been officially confirmed as his and social networking sites are banned to ordinary citizens.
But throughout his visit this week to the UN General Assembly in New York, Mr Rohani's office has used the stream to keep followers up to date with his speeches and media appearances.
Any lingering doubts that the account is run by his office evaporated when it confirmed the phone call before the White House did.
And on Friday, even as Mr Obama spoke in the more traditional venue of the White House briefing room, Mr Rohani outlined his side of the exchange online.
"President #Rohani and President @BarackObama expressed their mutual political #will to rapidly solve the #nuclear issue," he said.
"Obama, @HassanRohani appoint Foreign Ministers to follow up cooperation ASAP.
"@BarackObama to @HassanRohani: I express my respect for you and ppl of #Iran. I'm convinced that relations between Iran and US..1/3
"@HassanRohani to @BarackObama: We're hopeful about what we will see from P5+1 and your govt in particular in coming weeks and months..2/3
"@HassanRohani to @BarackObama: I express my gratitude for your #hospitality and your phone call. Have a good day Mr President. 3/3
"@BarackObama to @HassanRohani: Thank you, Khodahafez."
The tweets raced around the world and, stunning many observers - not all of them disinterested figures - who sensed that history was being made.
"I feel like I'm witnessing a tectonic shift in the geo-political landscape reading @HassanRohani tweets. Fascinating," tweeted Twitter chief executive Dick Costolo.
Mr Costolo doubtless has his reasons to celebrate his own platform's role in the incident - but there was a sign that he might have a point: Mr Rohani re-tweeted him.