Following long local resistance during the 1817–1864 Caucasian War, Imperial Russian forces defeated the Chechens and annexed their lands in the 1870s.