In the late 18th and 19th centuries, Russia embarked on full-scale conquest of the North Caucasus in the Caucasian War. Much of the campaign was led by General Yermolov who particularly disliked the Chechens, describing them as "a bold and dangerous people". Angered by Chechen raids, Yermolov resorted to a brutal policy of "scorched earth" and deportations; he also founded the fort of Grozny (now the capital of Chechnya) in 1818. Chechen resistance to Russian rule reached its peak under the leadership of the Dagestani leader Imam Shamil. The Chechens were finally defeated in 1861 after a bloody war that lasted for decades, during which they lost most of their entire population. In the aftermath, large numbers of refugees also emigrated or were forcibly deported to the Ottoman Empire.