On 3 October 2011, Jibril announced that he would resign from government once the country had been "liberated". He later specified this meant the capture of Sirte from loyalist holdouts. On 20 October 2011, Sirte was captured and Muammar Gaddafi was killed. Keeping his promise to leave at the war's end, Jibril resigned three days later. He was succeeded by Abdurrahim El-Keib on 31 October.