On 10 July 2017, Iraqi Prime Minister Abadi formally declared a local Iraqi victory over ISIL in the recent Iraqi army expulsion of ISIL from the city of Mosul. Since the fall of ISIL in Mosul, the overall extent of ISIL held territory in both Syria and Iraq has significantly diminished. On 17 October 2017, ISIL lost control of Raqqa in the second battle of Raqqa. On 3 November, Deir ez-Zor, ISIL's last major city in Syria, was recaptured, and Rawa, the last town held by ISIL in Iraq, was captured on 17 November.