According to news, Turkey has been asked to intervene in Libya on behalf of the government of national accord, a supposed transitional government.
The as called government of national accord is said to be internationally recognised but the Libyan House of Representatives have failed to recognise the party and called for elections in 2018. No elections yet. There are complaints of exclusions due to politics.
The government of national accord was preceded by the General National Congress which was ousted in 2016, reportedly because of a failure to transition Libya into a permanent democratic constitution.
The HoR is said to have become a legislative body following the 2014 elections although there was a very low turnout, said to be 18%. Details not known. The HoR, said to be dissolved by a supreme court who described the 2014 elections as unconstitutional, said the ruling was made at gunpoint with the court being controlled by armed militias.