Input (grade 6): In 1951, he again became Prime Minister, before retiring in 1955.
Output (grade 7): However, he became Prime Minister again in 1951, which he was until 1955.