Complex sentence: During World War I he fought in the Polish Legions as an officer of the second cavalry regiment.
Split into simpler sentences: During World War I he fought in the Polish Legions. He was an officer of the second cavalry regiment.