President Rodrigo Duterte on Tuesday declared the liberation of Marawi City from terrorist clutches, a day after terror leaders Omar Maute and Isnilon Hapilon were killed by terrorists.
Here is a timeline of the war that has claimed hundreds of lives and left one of the Philippines' most bustling urban centers in ruins.
MAY 23: THE SIEGE BEGINS
Members of Islamic State-inspired Maute group clashed with government forces and raised a black flag with an ISIS logo in front of the Amai Pakpak Hospital. Local priest Fr. Chito Soganub and other civilians were taken hostage by the group.
In response, President Rodrigo Duterte, who was in Russia at the time, placed the entire island of Mindanao under martial law.
MAY 24: DUTERTE RETURNS, SUSPENDS PRIVILEGE OF WRIT OF HABEAS CORPUS
The President cuts short his trip to Moscow and suspended the privilege of the writ of habeas corpus in Mindanao, allowing warrantless arrests as military forces scramble to contain the situation in Marawi City.
Military spokesman Col. Edgar Arevalo denied that ISIS was working with the terrorists in Marawi, as a lull in fighting allowed locals to leave Marawi in droves.
MAY 27: A SAD RAMADAN
Ramadan in Marawi became a sad and painful one with locals forced to flee their homes.
MAY 31: BOTCHED AIR STRIKE KILLS 11 SOLDIERS, INJURES 7 OTHERS
Defense Secretary Delfin Lorenzana reported that 11 soldiers were killed while 7 others were wounded after an aerial attack mistakenly hit government troops.
JUNE 6: MAUTE PATRIARCH ARRESTED
The head of the Maute clan was apprehended at a checkpoint in Sirawan, Toril, Davao City.
Cayamora Maute, father of Maute brothers and terrorists Omar and Abdullah, was apprehended in a van that was stopped by Task Force Davao at a checkpoint.
A video of terrorists allegedly plotting the siege in Marawi was also recovered by the military.
JUNE 9: MAUTE MATRIARCH ARRESTED
Ominta Romato "Farhana" Maute, the mother of the Maute terrorist leaders behind the attack on Marawi City was arrested in Masiu, Lanao del Sur.
She was arrested along with 2 other injured Maute group members after their vehicle was intercepted in Brgy. Kormatan, Masiu town.
JUNE 9: 13 MARINES KILLED IN BATTLE
A group of 13 Marines, including 1st Lt. John Frederick Savellano died in a firefight in Marawi City. The 29-year-old soldier led the team which earlier recovered nearly P80-million worth of cash and cheques from a house in Marawi City.
JUNE 12: INDEPENDENCE DAY IN MARAWI
The Philippines paid tribute to the brave men and women who died defending the people and the city of Marawi with a tribute video from Malacañang and the military. At the time, 58 government troops have been killed, including Savellano.
Soldiers, policemen, government employees, volunteers, and civilians also raised the Philippine flag and sang the Philippine national anthem while gathered at the capitol of Lanao del Sur for the June 12 rites.
JUNE 25: AN 8-HOUR CEASEFIRE FOR RAMADAN
The military suspended offensives against Islamic State-inspired extremists for 8 hours in Marawi Citys to observe the end of the Muslim holy month.
The "humanitarian pause" was observed from 6 a.m. to 2 p.m.
JUNE 26: ROBREDO VISITS MARAWI EVACUEES
Vice President Leni Robredo visited Marawi City evacuees who are currently staying in Barangay Tubod, Iligan City.
The vice president turned over 3 sewing machines from private donors as the community she visited had a livelihood of making clothes and hijabs.
JULY 4: SUPREME COURT AFFIRMS MINDANAO MARTIAL LAW
The Supreme Court affirmed Duterte’s declaration of martial law in Mindanao with 11 justices voting to uphold the President’s declaration.
Three others voted to limit the declaration to Marawi City, the conflict zone while a lone justice, meanwhile, voted to nullify the proclamation altogether.
JULY 20: DUTERTE VISITS MARAWI FOR THE FIRST TIME
In an unannounced trip, President Rodrigo Duterte visited Marawi City for the first time, fulfilling his promise to set foot in the conflict zone.
Throughout the siege, Duterte made a total of 7 visits to the war-torn city, the last of which was on Tuesday, Oct. 17 to declare the city’s liberation.
JULY 22: CONGRESS EXTENDS MINDANAO MARTIAL LAW
Congress extended martial law in Mindanao until Dec. 31 on the President’s request. A total of 261 legislators approved the extension while 18 rejected the proposal.
JULY 29: ‘PACMAN’ BOOSTS MORALE OF SOLDIERS IN MARAWI
Sen. Manny Pacquiao visited troops who were then slugging it out with Islamic State-inspired terrorists in Marawi City. The senator thanked and cheered the soldiers for pursuing their mission.
JULY 31: MORE SOLDIERS KILLED IN ‘FRIENDLY FIRE’
Another government air strike missed an enemy target, resulting in the injury of 11 soldiers and the death of 2 others. The military said the air strike caused several structures to collapse on the group of soldiers.
AUGUST 22: MINDANAO STATE UNIVERSITY REOPENS
Classes reopened at the Mindanao State University (MSU), which Islamic State-linked terrorists held during the early days of their rebellion in Marawi City.
AUGUST 25: MILITARY RETAKES GRAND MOSQUE
Military forces gained control of the Grand Mosque, the largest mosque in the strife-torn city of Marawi. The mosque was used as one of the main hideouts of terrorists led by the Maute and Abu Sayyaf groups.
AUGUST 27: MAUTE PATRIARCH DIES
Cayamora Maute, the father of 2 men who led the deadly siege of Marawi, passed away after being rushed to the Taguig-Pateros Hospital. The Bureau of Jail Management and Penology (BJMP) said the Maute patriarch was already in “critical condition” before he passed away.
SEPT. 1: MUSLIMS MARK EID AL-ADHA AS FIGHTING CONTINUES
The battle for Marawi claimed the lives of 3 more soldiers on the eve of Eid al-Adha even as Muslims in the besieged city pray for peace during their observance of the feast of sacrifice.
SEPT. 17: MILITARY RESCUES FR. CHITO SUGANOB
Fr. Chito Suganob, a Catholic priest held captive for months by the Maute group was rescued by state forces after they recovered the Bato mosque in Marawi City.
SEPT. 22: MILITARY RETAKES MASIU BRIDGE
The military reclaimed the Raya Madaya Bridge, better known as Masiu Bridge—a strategic link within the vicinity of Agus River and Lanao Lake.
On this day, the military also announced that terrorists control an area of less than 10 hectares in the city.
OCTOBER 16: ISNILON HAPILON, OMAR MAUTE KILLED IN MILITARY ASSAULT
Isnilon Hapilon, and Omar Maute, top leaders of the Maute group, were killed in a military assault early morning.
Defense Secretary Delfin Lorenzana said the whereabouts of Hapilon and Maute, who were holed up in a building in Marawi City, were divulged by a female hostage who managed to escape.
OCTOBER 17: MARAWI IS FREE
President Duterte announced the liberation of Marawi City from terrorist clutches, more than 4 months since the crisis began.
Duterte’s announcement comes a day after terror leaders Isnilon Hapilon and Omar Maute were killed by government troops in a military assault.
A task force for the rehabilitation of Marawi has been ordered created by the President with an initial allocation of P20 billion. The government has estimated the rebuilding of the city to take around 2 to 3 years.