Iraqi Kurdish and Shia forces agreed to coordinate movements after cutting off Mosul from the rest of the territory held by Islamic State militants in western Iraq and Syria in support of a U.S-backed offensive to capture the city, U.S. and Iraqi officials said on Thursday. The agreement was reached at meeting on Wednesday between commanders of Kurdish Peshmerga forces deployed in Sinjar, west of Mosul, and Hadi al-Amiri, the leader of the Iranian-backed Badr Organisation, the biggest component of the mostly Shia paramilitary coalition known as Popular Mobilisation. Popular mobilization, or Hashid Shaabi, deployed southwest of Mosul to complete the encirclement of Islamic State militants last major city stronghold in Iraq. Mosul was already ringed to the north, south and east by Iraqi government forces and the Peshmerga. Iraq's U.S.-trained Counter Terrorism Service unit breached Islamic State group defenses in east Mosul at the end of October and is fighting to expand its foothold there. The offensive started on Oct. 17 with air and ground support from a U.S.-led coalition. It is turning into the most complex campaign in Iraq since the 2003 invasion that toppled Saddam Hussein, a Sunni, and empowered the nation's Shia majority. Al-Amiri "came in order to coordinate with us," said Mahma Xelil, the mayor of Sinjar, a city where Islamic State militants committed its worst atrocities after taking over the region two years ago, killing and enslaving thousands from the Yazidi minority. Controlling the road will make it easier for the Iraqi army to enter Tal Afar, Xelil said. "There must be cooperation between us to prevent IS group from moving their equipment and their fighters," he added, referring to Islamic State group. Sinjar was recaptured a year ago by the Peshmerga, forces of the Kurdistan Regional Government of northern Iraq. It lies west of Tal Afar, another stronghold of Islamic State group, 60 km (40 miles) west of Mosul. "The joining of these forces greatly reduces the freedom of movement of IS militants insurgents in and out of Mosul," said Air Force Col. John Dorrian, a Baghdad-based spokesman for the U.S.-led coalition, referring to Islamic State group. "They have already lost the effective ability to move in large numbers, but now this has been made more difficult for them." Another prominent leader of the Popular Mobilisation units, Abu Mahdi al-Mohandes, said on Wednesday the Shia forces had linked up with the Peshmerga near Sinjar, completing the encirclement of a region that extends from Mosul and Tal Afar. Mohandes said Popular Mobilisation would try next to separate Mosul from Tal Afar, which lies on the route between Mosul and Raqqa, the main city of the militant group's self-styled "caliphate" in Syria.. Thousands of civilians fled Tal Afar as Popular Mobilisation closed in on the town mostly populated by ethnic Turkmen. The exodus is worrying humanitarian organizations as some of the civilians are heading into insurgent territory, where aid cannot be sent to them, provincial officials said on Wednesday. Those fleeing Tal Afar are Sunnis, who are in a majority in Nineveh province in and around Mosul. Tal Afar also had a Shia community, which fled in 2014 when the Sunnis of Islamic State militants swept through the region. Iraqi Prime Minister Haider al-Abadi tried to allay fears of ethnic and sectarian killings in Tal Afar, saying any force sent to recapture it would reflect the city's diversity. The Iraqi military estimates there are 5,000 to 6,000 insurgents in Mosul facing a 100,000-strong coalition of Iraqi government units, Kurdish peshmerga and Shia militias. Mosul's capture is seen as crucial toward dismantling the caliphate, and Islamic State leader Abu Bakr al-Baghdadi, believed to have withdrawn to a remote area near the Syrian border, has told his fighters there can be no retreat.