 This would eventually be ratified with Qajar Iran by the Treaty of Gulistan of 1813.Some territories, such as modern-day Armenia and Caucasian Azerbaijan, and southern Dagestan had powerful standing nobility, and were directly conquered in wars with Qajar Iran, namely by the Russo-Persian Wars of 1804–1813 and 1826–1828.Others, such as Lower Kabarda and areas of Dagestan, which also had powerful nobility but had remained largely independent of empires, were incorporated by co-opting the local elite and incorporating them into the Russian nobility.