Complex sentence: He joined the New York Militia soon after he left school, setting the course of the rest of his life.
Split into simpler sentences: He joined the New York Militia soon after he left school. This set the course for the rest of his life.