ANKARA, Aug. 16 (Xinhua) -- Turkish President Erdogan held talks with Iran's Armed Forces chief of staff on Wednesday, focusing on the fight against "terror" groups in Syria and Iraq, the state-run Anadolu news agency said.
Both Turkey and Iran have substantial Kurdish minorities and they vehemently oppose a plan by Iraq's autonomous Kurdish region to organise a vote on independence later this year.
A senior official from Iran's elite Revolutionary Guards earlier said Bagheri's trip was prompted by the presence of "terrorist groups" in the border area, without saying which ones.
"We are seeking a good agreement with Turkey to provide better security for Iranian and Turkish borders especially in the west and northwest," said Guards spokesman General Ramezan Sharif, quoted by the IRNA news agency.
Turkey and Iran lie on opposing sides of the Syrian conflict, with Erdogan seeking the ouster of President Bashar al-Assad to end the war. Tehran, along with Moscow, remain the Syrian leader's key allies and backers.