The next bout of hostilities, due to the huge dissatisfaction with the turn of events that forced Iran to cede swaths of its lands, culminated in the Russo-Persian War (1826-1828). Despite a successful Iranian offensive in the first year, it eventually turned out in an even worse defeat; the 1828 Treaty of Turkmenchay forced Iran to irrevocably cede all of modern-day Armenia and the remaining part of the Azerbaijani Republic that were still in Iranian hands.[28] By 1828, Iran was stripped of all its territories in Transcaucasia and the North Caucasus including Georgia, which all had made part of the concept of Iran for three centuries.[26]