Following prolonged tensions between
Islamists and non-Islamists in Libya, on 16 May 2014 military forces loyal to General
Khalifa Haftar launched a large-scale air and ground offensive codenamed
Operation Dignity on Islamist militia groups in
Benghazi, including Ansar al-Sharia. The offensive caused a country-wide military escalation that led to the beginning of the
Second Libyan Civil War. After initial reverses, Ansar al-Sharia, and other Islamist and jihadist militias fighting together as the
Shura Council of Benghazi Revolutionaries, launched a counteroffensive against units loyal to Haftar in the following months, largely driving them out of the city by August of the same year. After capturing several army bases in this offensive, Ansar al-Sharia posted images on the internet of the weapons and equipment that had been seized, including
D-30 Howitzers,
multiple rocket launchers,
Strela 2 man-portable air-defense systems, large quantities of ammunition and vehicles. In late 2014, the group's leader, Mohamed al-Zahawi, died of wounds he had received from the fighting. On 30 March 2015, the group's chief Sharia jurist, Abu Abdullah Al-Libi, pledged allegiance to IS, and defected with a number of fighters. Ansar al-Sharia quickly announced that Abu Tamim al Libi had been selected as his replacement. For several years thereafter the group retained its independence from IS, but continued losses through casualties in fighting the
Libyan National Army under
Khalifa Haftar and further defections to IS,
brought them to dissolution in 2017, with many of the remaining fighters going to IS. The
2015 kidnapping and beheading of 21 Egyptian Copts in Libya for being "people of the cross, followers of the hostile Egyptian [Coptic] church," has been blamed on Ansar al-Sharia by Carol E.B. Choksy and Jamsheed K. Choksy of World Affairs. ==Terrorist organization designation==