FILE PHOTO - Iran's President Hassan Rouhani delivers remarks at a news conference during the United Nations General Assembly in New York City, U.S. September 20, 2017. REUTERS/Stephanie Keith

DUBAI (Reuters) - Iran’s President Hassan Rouhani on Sunday called for boosting relations with the Iraqi Kurdish region as part of a united Iraq, Iranian media reported, after ties were strained over an independence referendum in the area last year.

The call came during a visit by the semi-autonomous Kurdistan region’s Prime Minister Nechirvan Barzani, the first such high-level trip to Iran since last year’s Kurdish independence referendum which Iran strongly opposed.

The Kurdish referendum on Sept. 25, which produced an overwhelming “yes” for independence, angered Iraq’s central government and neighbours Iran and Turkey, which have their own restive Kurdish minorities.

“President Rouhani stressed the historical and deep-rooted ties between the Islamic Republic of Iran and the Kurds of Iraq, and said all efforts should be made to strengthen the close relations between the two nations of Iran and Iraq,” the state news agency IRNA reported.

Analysts have said that Iran appeared to be the ultimate winner in the crisis triggered by the referendum. Tehran is widely believed to have backed Iraqi Prime Minister Haider al-Abadi in his offensive to recapture Kurdish held-areas, including the oil-rich city of Kirkuk.

Barzani earlier met Ali Shamkhani, secretary of Iran’s Supreme National Security Council, who voiced concern over continued cross-borders raids by Iranian Kurdish rebels from Iraq’s Kurdish region.

“We cannot tolerate that counter-revolutionary groups use Kurdish territory to assassinate our soldiers and citizens and return to the Kurdish region, and then take responsibility for these acts in official Kurdish media,” IRNA quoted Shamkani as saying.

Barzani said: The “expansion of ties and cooperation between Iran and the Kurdistan region will not be affected by its opponents’ efforts, and we shall use all our power to prevent security threats against Iran,” IRNA added.

Several armed Iranian Kurdish opposition groups operate from bases in Iraq’s remote mountainous north and launch sporadic raids into Iran.