qnli question: What wars took place during the late 18th century and early 19th century? sentence: During the Napoleonic Wars in the late 18th century and early 19th century, Napoleon annexed territory formerly controlled by the Habsburgs and Savoys.