Complex sentence: Lance-Sergeants first appeared in the 19th century and were abolished in 1946, except in the Foot Guards and Honourable Artillery Company, which still retain them.
Split into simpler sentences: Lance-Sergeants first appeared in the 19th century. The rank was abolished in 1946, except in the Foot Guards and Honourable Artillery Company, which still retain them.