Complex sentence: He worked as a General Practitioner in Kilmarnock until 1886 when he turned his whole attention to archaeological research.
Split into simpler sentences: He worked as a General Practitioner in Kilmarnock until 1886. He gradually turned his whole attention to archaeological research.