Iranian president declares end islamic state
I think there may be some confusion here.
The President of Iran, Hassan Rouhani, has not declared the end of the Islamic State (ISIS). In fact, the Islamic State (ISIS) is a terrorist organization that has been designated as such by the United Nations, the United States, and many other countries.
Iran has been a strong opponent of ISIS and has been involved in military operations against the group in Iraq and Syria. The Iranian government has also provided military and financial support to the Syrian government and other groups fighting against ISIS.
It's possible that you may be thinking of a different announcement or statement made by President Rouhani or another Iranian official. If you could provide more context or clarify what you are referring to, I'd be happy to try and help you further.