Prime Minister of Algeria
The President of Algeria chooses the Prime Minister. The People's National Assembly must okay the choice. There are no  limits on a Prime Minister's term.  The person who was Prime Minister the longest was Mohamed Ben Ahmed Abdelghani.  He did the job from 1979 to 1984.