In 1810, the historical Ingushetia voluntarily joined Imperial Russia, and in 1859 the historical Chechnya was annexed to Russia as well, during the long Caucasian war of 1817–64.