Updated

Iraq (search) returned its ambassador to Amman on Tuesday, according to Iraqi embassy officials, ending a diplomatic row between the neighboring nations over Iraqi accusations the kingdom was not doing enough to stop militants from crossing the border.

The move comes a day after King Abdullah II (search) ordered the return of Jordan's charge d'affaires in Iraq, the kingdom's top diplomat there.

"The Iraqi ambassador, Ata Abdul-Wahab (search), has now returned to Amman," Iraqi Embassy press attache Hanna Murad told The Associated Press.

Tension between Jordan and Iraq boiled over last week. At one point, Iraqi demonstrators angry about the alleged involvement of a Jordanian in a deadly suicide bombing hoisted the Iraqi flag at the Jordanian Embassy in Baghdad. The two governments pulled their top diplomats on Sunday.

Both countries had said the diplomats were being recalled for "consultations."

In a bid to heal the rift, Jordan's Prime Minister Faisal al-Fayez met outgoing Iraqi President Ghazi Al Yawar and Iraqi Foreign Minister Hoshyar Zebari on Monday in Algiers, Algeria, where they are attending the Arab summit that starts Tuesday.