Complex sentence: He partnered with Stephen T. Logan from 1841 until 1844, when he began his practice with William Herndon, whom Lincoln thought "a studious young man".
Split into simpler sentences: He partnered with Stephen T. Logan from 1841 until 1844. Then Lincoln began his practice with William Herndon, whom Lincoln thought "a studious young man".