In the 1813 Treaty of Gulistan and the 1828 Treaty of Turkmenchay, following the Russo-Persian War (1804–13) and the Russo-Persian War (1826–28), respectively, the Qajar dynasty of Iran was forced to irrevocably cede Eastern Armenia, consisting of the Erivan and Karabakh Khanates, to Imperial Russia. This period is known as Russian Armenia.