sentence: The spread of colonial empires was reduced in the late 18th and early 19th centuries by the American Revolutionary War and the Latin American wars of independence .
question: when was someone warring _ _ _ ?
answers: in the late 18th and early 19th centuries