Input (grade 13): Armenia remained under Ottoma rule for three centuries, until after the Russo - Turkish War (1828 - 1829), when Eastern Armenia was ceded to the Russian Empire.
Output (grade 12): This condition ended after 300 years when following the Russo - Turkish War (1828 - 1829), Eastern Armenia was ceded to the Russian Empire.