Complex sentence: He was elected a Fellow of the Royal Society of Edinburgh in 1880 and in 1905 he received an honorary D.C.L. from St Andrew's University.
Split into simpler sentences: He was elected a Fellow of the Royal Society of Edinburgh in 1880. In 1905 he received an honorary D.C.L. from St Andrew's University.