Complex sentence: The second son became Sir William Coke (1776-1818), a judge in Ceylon, and the third was John Coke DL (died 1841), who served as High Sheriff of Nottinghamshire in 1830.
Split into simpler sentences: The second son also went into the law and became Sir William Coke (1776-1818), a judge in Ceylon. Coke's third son was John Coke DL (died 1841), who served as High Sheriff of Nottinghamshire in 1830.