0419 GMT January 23, 2019
"We stand by you and will defend your government as we seriously defended the former administration," the Leader told visiting Iraqi Prime Minister Haider al-Abadi in Tehran.
Ayatollah Khamenei further said Iran believes that "the Iraqi nation and government, especially its youth, are capable to overcome the terrorists and establish security without the need for the presence of foreigners".
The Leader appreciated the formation of the new Iraqi government, saying, "Iraq is a big, important and influential country in the region that can play a (major) role, once security and conditions return to normal."
Ayatollah Khamenei also praised the performance of the former Iraqi prime minister Nouri al-Maliki to resolve the problems of the Iraqi people and maintain security in the country.
The Leader noted that Iraq's policy on Syria not to permit the terrorists enter the country was a correct measure.
"The current situation in the region and also Iraq, is the results of irresponsible policies of extra-regional powers and certain countries in Syria," the Leader said.
Ayatollah Khamenei noted that the Islamic Republic believes that the issue of ISIL terrorist group and terrorism should be settled by the regional countries.
The Leader also called for unity of Iraqi ethnic and religious groups, saying, "Iraq is a geographical unit and segregation of Shia, Sunni, Arab and Kurd in Iraq is meaningless."
Abadi also commended the stances of Iranian officials, including the Leader, on developments in Iraq.
"We believe that with the insight of the two nations of Iran and Iraq and the support of the Ulema and your guidance, we can go ahead and repel the terrorists," he said.
Meanwhile, President Hassan Rouhani also told the Iraqi PM that that Iran will continue to support the Iraqi nation and army in the fight against terrorist groups in the country.
Rouhani added, "Iran believes that the main responsibility in fighting terrorist groups should be taken by the government and volunteer forces in Iraq."
He noted that unity among Iraqi ethnic and religious groups is the key to Iraq's success in fighting terrorist groups operating in the country.
"Advocates of fighting terrorism and those [states] which formed a coalition [against ISIL terrorist group] should, as a first step, try to cut financial assistance to terrorist groups," the president said.
Rouhani also said that boosting ties between Iran and Iraq will serve the interests of both states.
He hoped that trade between the two neighboring states would reach $30 billion by the end of 2015.
The president added that Iran is ready to tackle the problems hindering the expansion of economic ties.
Abadi said that his decision to select Iran as his first destination of foreign visit after he took office shows that Baghdad attaches great importance to expansion of ties with Tehran.
He also praised the Iranian government for supporting Iraq in its fight against ISIL terrorists in his country.
"The threat of terrorism is putting in danger the existence of all counties in the region," he said.
The Iraqi premier noted that he believes Iran will stand by Iraq until all terrorist groups in the country are uprooted.
He also said that Baghdad supports the expansion of economic relations with Tehran.
In a meeting with the visiting Iraqi premier, First Vice-President Es'haq Jahangiri said that Iran will continue unconditional support for the Iraqi government in the campaign against terrorism.
Jahangiri said that the Iraqi Army and nation have the capability to eliminate terrorist groups.
Iraqi prime minister also said that spread of terrorism has posed threat to the Iraqi national security and is a challenge for the stability of the entire region.
Terrorist groups have been created to provoke discord among followers of various sects of Islam, he said.
Jahangiri and al-Abadi agreed to develop all-out cooperation in all fields.
Abadi arrived in the Iranian capital for an official visit on Tuesday.
The Iraqi premier, who is on his first visit to Iran since he took office on September 8, is heading a high-level delegation and is scheduled to hold talks with senior Iranian officials.
Before his departure to Iran, Abadi said coordination on Iran's support in the campaign against ISIL terrorists is one of the issues on the agenda of the talks.
The Iraqi prime minister further hailed relations between Tehran and Baghdad, saying, "Iran is one of the powerful and advanced countries in the world."
He added that he will also discuss closer cooperation with Iran in the areas of energy, housing, and the reconstruction of Iraq.
According to a statement released by Abadi's office on Sunday, the trip is part of the Iraqi prime minister's bid to integrate regional efforts to help Iraq in its war against the ISIL.
Iraqi armed forces are currently carrying out mop-up operations against the ISIL Takfiri terrorists in the northern parts of the Arab country.