Complex sentence: In 1792 he enlisted in the Haut-Rhin volunteers, and was from his military knowledge at once elected adjutant and soon afterwards lieutenant-colonel.
Split into simpler sentences: In 1792 he enlisted in the Haut-Rhin volunteers. Due to his military knowledge he at once gained election as adjutant and soon afterwards as lieutenant-colonel.