Complex sentence: From age 17 to 21 he taught school, and then he studied for the bar and was admitted in 1851.
Split into simpler sentences: From age 17 to 21 he taught school. During this time he studied for the bar and was admitted in 1851.