Complex sentence: There are no constitutional limits on a Prime Minister's term but the longest-serving was Mohamed Ben Ahmed Abdelghani, who served from 1979 to 1984.
Split into simpler sentences: There are no constitutional limits on a prime minister's term. The longest serving was of Mohamed Ben Ahmed Abdelghani, who served from 1979 to 1984.