the region became a subject of dispute between armenia and azerbaijan in 1918 when both states gained brief independence. two years later, soviet union conquered both of the new states and created the nagorno-karabakh autonomous oblast within azerbaijan.