qnli question: When did Armenia gain its independence? sentence: In 1918, after the Russian Revolution, all non-Russian countries declared their independence from the Russian empire, leading to the establishment of the First Republic of Armenia.