In the last few streets of Mosul still controlled by IS, thousands of people have been sheltering for weeks with little food and no electricity.
They feared being bombed if they remained in place, and being shot by snipers if they did not.
As more parts of the city are liberated, the people are making their way to safer areas.
Iraqi Federal policeman Yassir Abbas Naji says he is confident Mosul will be free in the next few days.