Complex sentence: He did not resume the active ministry until the close of the war, when, in 1784, he became rector of Trinity Church, New York, and in 1785 chaplain of the Continental Congress, then meeting in New York.
Split into simpler sentences: He did not resume the active ministry until the close of the war. In 1784, he became rector of Trinity Church, New York and in 1785 chaplain of the Continental Congress, then meeting in New York.