The Iraqi city of Ramadi has been "liberated" from so-called Islamic State, the Iraqi military has declared.

Military spokesman Brig Yahya Rasul said forces had achieved an "epic" victory, adding the Iraqi flag had been raised over the government complex.

Iraqi government forces, backed by US-led coalition air strikes, had been battling to retake the mainly Sunni Arab city for weeks.

Ramadi fell to IS in May, in an embarrassing defeat for the army.