Mosul, Iraq's second-largest city and the IS's last urban stronghold in the country, fell into the hands of the extremists in the summer of 2014, when the group captured large swaths of northern and western Iraq.