The Libyan Armed Forces are, in principle, the state organisation responsible for the military defence of Libya, including ground, air and naval forces. The original army under the Libyan monarchy of King Idris I was trained by the United Kingdom and the United States. Since Muammar Gaddafi rose to power in 1969, Libya received military assistance from the Soviet Union. The Libyan military fought in several wars, including the Libyan–Egyptian War and the Chadian–Libyan conflict. After the 2011 civil war and the fall of Gaddafi, the armed forces consisted mostly of local militias that were frequently created or ceased to be active and made temporary shifting alliances. During 2015–2018, after Khalifa Haftar was appointed in 2015 by the Libyan parliament in Tobruk as the supreme commander of the armed forces, he unified many militias into a regular hierarchical structure in the eastern part of Libya that became known as the core of the Libyan National Army., the regular core of the LNA was complemented by Salafist militias and foreign mercenaries., the internationally recognised Government of National Accord retained formal control of the militias nominally constituting the Libyan Army, while the Libyan Air Force was split into LNA and GNA controlled components. The naval and coast guard forces were mostly under GNA control with some coastal patrol boats under LNA control.
The Kingdom of Libya gained its independence from Italy on 24 December 1951. Under the Libyan monarchy there existed a federal army and local provincial police forces. The U.S. State Department reported in 1957 that the army numbered 1,835 men, while the police forces had around 5,000–6,000. King Idris of Libya and his government relied on the police for internal security and were anxious to increase the size of the national army to 5,000 troops. The United Kingdom had the primary role of training the Libyan Army, but the United States also contributed to training a 1,035-man contingent and was considering taking responsibility for training the entire army. The U.S. also supplied the Royal Libyan Air Force, coming to an agreement in May 1957 to supply Libya with 10 Northrop F-5s.
A group of young officers and soldiers led by Muammar Gaddafi overthrew King Idris in a coup d'etat on 1 September 1969. The King spent several years under house arrest. The new Libyan Army under Gaddafi's Libyan Arab Republic fought a short border war with Egypt in July 1977, sent several thousand troops to support Idi Amin during the Uganda–Tanzania War in 1972 and again in 1978, and spent a decade trying to annex parts of northern Chad in 1978–1987. The Libyan army was estimated to have 50,000 total troops as of 2009.
Transition period (2011–2014)
During the 2011–2014 transition period, the Libyan armed forces consisted mostly of a shifting ensemble of militias being created and dissolved and creating and dropping alliances.
, since the start of the Second Libyan Civil War in 2014, the Libyan armed forces, composed to a large degree of militias, have been partially led by the internationally recognised Government of National Accord in Tripoli, while remaining highly divided between those nominally led by the GNA and those nominally led by Khalifa Haftar in command of the Libyan National Army on behalf of the part of the national parliament in Tobruk. The forces included ground forces divided between the GNA-led Libyan Army and the LNA; the Libyan Air Force also divided between a GNA component and an LNA component; while the naval, and coast guard forces were mostly under GNA control with some coastal patrol boats under LNA control. Prime MinisterFayez al-Sarraj, the head of the GNA, is nominally the supreme commander of the GNA forces. The military is under the authority of the GNA Ministry of Defense, formerly led by Colonel Al-Mahdi Al-Barghathi from 2016 to 2018, at which point Sarraj took over as defense minister. During 2015–2018, the LNA under Haftar's control unified many militias into a regular hierarchical structure in the eastern part of Libya and used online social networks to present the image of growing military and political power, while still remaining, as of 2019, dominated by Salafist militias and foreign members., the LNA consisted of about regular soldiers and militia and foreign members.