Complex sentence: He was the longest continuously serving Prime Minister in the 20th century until early 1988 when his record was surpassed by Margaret Thatcher.
Split into simpler sentences: He was the longest continuously serving Prime Minister in the 20th century until early 1988. In 1988 his record was surpassed by Margaret Thatcher.