Complex sentence: When Iowa became a territory in 1838, he got involved in the territory's politics, and won an election to be a member of the House of the First Legislative Assembly.
Split into simpler sentences: When Iowa became a territory in 1838, he got involved in the territory's politics. In 1838, he was elected as a member of the House of the First Legislative Assembly.