At the airport in Cairo, Mahmoud Ahmadinejad kissed by Mohammed Murcia.
Mahmoud Ahmadinejad is in Cairo for the first visit to Egypt, Iranian head of state since 1979.
Tehran froze its ties with Cairo in 1980 in protest against the peace agreement between Israel signed by the then Egyptian president Anwar Sadat.
Iran also did not like that the Egyptian government gave asylum to the deposed Shah Mohammed Reza Pahlavi, who died in Cairo one year after the revolution, and was buried in Ar-Rifai mosque.
Now he has vowed to work to strengthen the bilateral relations between the two countries.
Ahmadinejad at a conference of the Organization of Islamic Cooperation in Cairo.
"I'll try to lay the foundations for the development of cooperation between Iran and Egypt," said Ahmadinejad told reporters before leaving Tehran.
At the airport in Cairo Ahmadinejad was greeted personally by his Egyptian counterpart Mohammed Murcia.
Mohammed Murcia kissed Ahmadinejad after he got off the plane at the airport in Cairo, all eizlacheno of the Egyptian television to the dismay of Israel.
In the Egyptian capital was an attempt to "attack" against the Iranian president.
A young man, a citizen of Syria, tried to attack the Iranian leader, shouting: "You kill our brothers."
The attacker was holding shoe and swung twice at the Iranian leader, but he was too far for a successful attack.
Since 2010 the two countries began to normalize relations, resumed air transport and export of petroleum products from Iran to Egypt.
New impetus to bilateral cooperation gave complete change of regime in Egypt with Islamic.
In August, President Mohammed Musri invited Ahmadinejad took part in the 16th summit of the Non-Aligned Movement in Tehran.