Clashes occurred in western Libya since 14 October 2016, when a coup d'état attempt was conducted by the former head of the National Salvation Government (GNS), Khalifa al-Ghawil, against Prime Minister Fayez al-Sarraj, the head of Libya's Government of National Accord (GNA). This evolved into fighting between the GNA and GNS for control of Tripoli and parts of western Libya, while pro-GNA militias also attacked other militias for control of the region.