A lancer was a type of cavalryman who fought with a lance. Lances were used for mounted warfare in Assyria as early as 700 BC and subsequently by India, Egypt, China, Persia, Greece, and Rome. The weapon was widely used throughout Eurasia during the Middle Ages and the Renaissance by heavy cavalry, but fell out of general use by the late 16th century, before its revival by light cavalry in the early 19th century. Lance cavalry remained in an active role into the early 20th century and World War I. In modern times, many militaries retain units designated as lancers. However, the lance itself has been relegated to a ceremonial role.