During the Syrian Civil War, the city was captured in 2013 by the Syrian opposition and then by the Islamic State. ISIS made the city its capital in 2014. As a result, the city was hit by airstrikes from the Syrian government, Russia, the United States, and several other countries. Most non-Sunni religious structures in the city were destroyed by ISIS, most notably the Shia Uwais al-Qarni Mosque, while others were converted into Sunni mosques. On , following a lengthy battle that saw massive destruction to the city, the Syrian Democratic Forces (SDF) declared the liberation of Raqqa from the Islamic State to be complete.