BEIRUT -- Syria's foreign minister said in remarks broadcast Tuesday that the Iranian ballistic missile attack on militants in eastern Syria the previous day was part of "legitimate" co-operation between the two countries to combat terrorism.

Walid al-Moallem's comments came during a wide-ranging interview with the Beirut-based Al-Mayadeen TV. The full interview is to air later in the day.

Iran's Revolutionary Guard launched six ballistic missiles as well as drone bombers into eastern Syria's Deir el-Zour province on Monday, targeting Islamic State militants it blamed for an attack on a military parade in Iran last month.

The strikes were the second time Iran had used cross-border missiles inside Syria. Last year, Iran also struck in militant positions in Deir el-Zour's town of Mayadeen and following another attack, in Tehran, that was blamed on IS.

But Monday's strikes come after Syrian government forces and allied Iranian-backed militias gained control of the strategic border town of Boukamal late last year, likely improving Iran's intelligence and capabilities in the area.

The strikes were also seen as threat to Iran's regional adversaries at a time when Tehran's nuclear deal with world powers unravels.

"The Iranian missiles are in the framework of combatting terrorism," said al-Moallem.

The Syrian government and its allies, as well as the U.S-led coalition are separately battling IS, which still controls a sliver of land along Syria's border with Iraq.

Iran's Revolutionary Guard meanwhile said its strikes targeted only Islamic State group militants for the first time, claiming that some 40 militant leaders were killed in the strike.

Gen. Amir Ali Hajizadeh, head of the Guard's aerospace division, identified one of the dead as the IS commander of its Mosul district, the semi-official Fars news agency reported.

The Guard also published pictures it described as the targets hit, which appeared to be villas. It described the attack as "precision" strikes.

The Britain-based Syrian Observatory for Human Rights, which monitors the war in Syria, said the strikes killed eight people in Hajin, a town still controlled by IS. It was not clear if all the killed were militants, the Observatory said, adding that one of the missiles hit a house that had been seized by IS.

The U.S. military's Central Command acknowledged that Iranian forces conducted "no-notice strikes" in the area Monday and said it was assessing the damage. The coalition said no coalition forces were in danger.

------

Associated Press writer Amir Vahdat in Tehran contributed to this report