Complex sentence: In 1897 they were redesignated as lancers, becoming the 21st Lancers, and in 1898 served in the Mahdist War in the Sudan.
Split into simpler sentences: In 1897 they were redesignated as lancers, becoming the 21st Lancers. In 1898 the 21st Lancers served in the Mahdist War in the Sudan.