Original: Macdonald's tenure in office spanned 18 years, making him the second longest serving Prime Minister of Canada.
Simplified: So he was the second longest serving Prime Minister of Canada.