In pictures: Iraqis flee Mosul
- Published

As many as 500,000 people are fleeing the Iraqi city of Mosul after Islamist extremists effectively took control of it.

Residents of all ages have left their homes, with many seeking refuge in the neighbouring region of Kurdistan

It comes after hundreds of armed men seized government and police buildings in Mosul - Iraq's second biggest city - and freed thousands of prisoners.

Residents said jihadist flags were being flown from buildings and police stations set on fire.

Fighters from the jihadist Islamic State in Iraq and the Levant (ISIS) have reportedly taken control of the surrounding province of Nineveh and other areas in nearby Kirkuk.

Fleeing families took what they could, with many leaving on foot. The authorities in the Kurdish region have set up temporary camps for them.

Dozens of cars and trucks stretched out from this checkpoint on the boundary of the Erbil region.

Residents queuing at the checkpoints in northern Iraq said they were forced to leave Mosul after soldiers and police deserted their posts and fled.

Kurdistan Prime Minister Nechirvan Barzani has asked the UN refugee agency for help providing for the thousands displaced by the fighting.

In the past week, ISIS and its allies have attacked cities and towns in western and northern Iraq, killing many.

The government has declared a state of emergency and placed security forces in a state of "maximum alert".

The Iraqi government is struggling with a surge in sectarian violence that killed almost 800 people in May alone, according to the UN.