qnli question: What period ended towards the end of the 18th century? sentence: This period, until the loss of the Thirteen Colonies after the American War of Independence towards the end of the 18th century, has subsequently been referred to by some historians as the "First British Empire".