 Complete the following phrase:  At the end of the 9th century, the 3 cantons became part of the newly established Bagratid Kingdom of Armenia. However, between the 11th and 15th centuries, the region suffered from the Seljuk, Mongol, Ag Qoyunlu and Kara Koyunlu invasions, respectively. At the beginning of the 16th century, the territory of modern-day Ararat became part of the Erivan Beglarbegi within the Safavid Persia. During the first half of the 18th century, the territory became part of the Erivan Khanate under the rule of the Afsharid dynasty and later under the Qajar dynasty of Persia. It remained under the Persian rule until 18271828, when Eastern Armenia was ceded by the Russian Empire as a result of the Russo-Persian War of 182628 and the signing of the Treaty of Turkmenchay. With the fall of the Russian Empire and as a result of the decisive Armenian victories over the Turks in the battles of 