Iranian President Hassan Rouhani said that he had not ruled out the withdrawal of Iranian troops from Syria, according to Haaretz.
Speaking with French President Emmanuel Macron by telephone, Rouhani said he hoped for the roots of terrorism in Syria to wither as soon as possible.
"That would mean there was no need for the presence of foreign troops in Syria," he said during the call, according to a statement from his office.
Russia, Iran and Lebanon's Hezbollah militia are the most important allies of Syrian President Bashar Assad, and the presence of Iran and Hezbollah in Syria has especially increased tensions in the Middle East.
Israel considers itself threatened by Iranian rockets that it says have been stationed in Syria.
Macron and Rohani also discussed the 2015 nuclear deal with Tehran, with Macron repeating that France, Britain, Germany, Russia and China still backed the agreement despite the U.S.' recent withdrawal.
Macron hoped that "Iran would continue to fulfil its obligations without any ambiguity," according to a statement from the Elysee Palace.
The French president also suggested another ministerial-level meeting on the nuclear deal in response to a request from Rohani, the Elysee said.