The withdrawal of the Islamic State group from the last town under its control caps a series of major defeats in recent months that have virtually eliminated its self-styled caliphate in Syria and Iraq. The group still controls some small villages and scattered pockets of territory in Syria, but the border town of Boukamal, retaken by Syrian and Iraqi troops on Thursday, was the last major, built-up area held by the extremists. The group's media arm remains intact, allowing it to recruit supporters and inspire attacks, and the militants are expected to continue carrying out bombings and other assaults in Syria and Iraq. But the caliphate they declared in 2014, which once took in more than 8 million people, is no more.
A look at the group's major defeats over the last year: