(CNN) The Syrian army and allied forces have taken full control of the city of Deir Ezzor, the last major Syrian city in ISIS' hands, Syria's Defense Ministry and state media said Friday.

"Syria's Army in cooperation with allied forces liberated the entire city of Deir Ezzor from the ISIS after killing a large number of the terrorists, among them foreigners," the Syrian Defense ministry said in a statement.

JUST WATCHED ISIS still planning for future after retreat Replay More Videos ... MUST WATCH ISIS still planning for future after retreat 03:15

"The Syrian Arab Army restored security and stability to the entire city of Deir Ezzor after eliminating Daesh's last stronghold in it," Syrian state media said, using an Arabic name for ISIS.

The city's seizure represents a highly significant gain for Syria's government and a big blow for ISIS.

Two Syrian government enclaves in the city's west were besieged by ISIS for more than three years before the terror group was ousted about two months ago by the Syrian military backed by Russian forces.

Read More