On 29 November, after weeks of violent protests, Mahdi announced that he would resign his post. The Iraqi parliament approved his resignation on 1 December 2019. He was replaced by Mustafa Al-Kadhimi in May 2020.