 Magariaf is the leader of the National Front Party, which won three seats in the 2012 election, and he was previously well known for having founded and been the first leader of the National Front for the Salvation of Libya against the regime of Muammar Gaddafi.A resident of Benghazi, he studied Economics at the University of Benghazi.He served from 1972 to 1977 as head of the board of auditors at the Libyan Arab Republic's Revenue Court, where he proved uncomfortable for the regime because of his anti-corruption stance and was subsequently designated Libya's Ambassador to India.