Complex sentence: He was a judge of the superior court of New York City from 1828 to 1847, was appointed chief justice in October 1847 and served until his death in office.
Split into simpler sentences: He was a judge of the superior court of New York City from 1828 to 1847. In 1847 he was appointed chief judge, and he served until his death in office.