 Complete the following phrase:  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 LibyanEgyptian War 1977 and the ChadianLibyan conflict 19781987. 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 20152018, 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 LNA. , the regular core of the LNA about soldiers was complemented by Salafist militias and foreign mercenaries about soldiers. , the internationally recognised Government of National Accord GNA 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. In 2021, all the armed forces branch except for the Haftars forces will under command of the new President of Libya, Mohamed al-Menfi from Government of National Unity after the 