Complex sentence: After the death of William Sherlock he was elected Dean of St. Paul's, 14 July 1707, and installed on 18 July, resigning the deanery in October 1726, when he returned to the duties of the provostship of Eton.
Split into simpler sentences: After the death of William Sherlock he was elected Dean of St. Paul's on 14 July 1707, and installed on 18 July. He resigned the deanery in October 1726, when he returned to the duties of the provost of Eton.