Question: When did Muslim armies invade the country where Al-Mu'tamid's successor was a citizen and the country where Rankus is located?

full_context: Document 1: Al-Nasir: Al-Nasir was the son of Caliph Al-Mustadi and a Turkish "umm walad" called "Zumurrud" (Emerald). His reign was unusual for the rise of the futuwwa groups in his reign, connected to Baghdad's long-standing ayyarun. These urban social groups had long existed in Baghdad and elsewhere, and they were often involved in urban conflicts, especially sectarian riots. Al-Nasir made them into an instrument of his government, reorganizing them along Sufi lines and ideology.
Document 2: North Carolina: The Appalachian Mountains are the coolest area of the state, with temperatures averaging in the low 40s and upper 30s °F (6–3 °C) for highs in the winter and falling into the low 20s °F (−5 °C) or lower on winter nights. Relatively cool summers have temperatures rarely rising above 80 °F (27 °C). Average snowfall in many areas exceeds 30 in (76 cm) per year, and can be heavy at the higher elevations; for example, during the Blizzard of 1993 more than 60 in (152 cm) of snow fell on Mount Mitchell over a period of three days. Mount Mitchell has received snow in every month of the year.
Document 3: Umayyad Caliphate: After the assassination of Uthman in 656, Ali, a member of the Quraysh tribe and the cousin and son-in-law of Muhammad, was elected as the caliph. He soon met with resistance from several factions, owing to his relative political inexperience. Ali moved his capital from Medina to Kufa. The resulting conflict, which lasted from 656 until 661, is known as the First Fitna ("civil war"). Muawiyah I, the governor of Syria, a relative of Uthman ibn al-Affan and Marwan I, wanted the culprits arrested. Marwan I manipulated everyone and created conflict. Aisha, the wife of Muhammad, and Talhah and Al-Zubayr, two of the companions of Muhammad, went to Basra to tell Ali to arrest the culprits who murdered Uthman. Marwan I and other people who wanted conflict manipulated everyone to fight. The two sides clashed at the Battle of the Camel in 656, where Ali won a decisive victory.
Document 4: Umayyad Caliphate: The Umayyad Caliphate (Arabic: الخلافة الأموية‎, trans. Al-Khilāfat al-ʾumawiyya) was the second of the four major Islamic caliphates established after the death of Muhammad. This caliphate was centered on the Umayyad dynasty (Arabic: الأمويون‎, al-ʾUmawiyyūn, or بنو أمية, Banū ʾUmayya, "Sons of Umayya"), hailing from Mecca. The Umayyad family had first come to power under the third caliph, Uthman ibn Affan (r. 644–656), but the Umayyad regime was founded by Muawiya ibn Abi Sufyan, long-time governor of Syria, after the end of the First Muslim Civil War in 661 CE/41 AH. Syria remained the Umayyads' main power base thereafter, and Damascus was their capital. The Umayyads continued the Muslim conquests, incorporating the Caucasus, Transoxiana, Sindh, the Maghreb and the Iberian Peninsula (Al-Andalus) into the Muslim world. At its greatest extent, the Umayyad Caliphate covered 15 million km2 (5.79 million square miles), making it the largest empire (in terms of area - not in terms of population) the world had yet seen, and the fifth largest ever to exist.
Document 5: Middle Ages: Religious beliefs in the Eastern Empire and Iran were in flux during the late sixth and early seventh centuries. Judaism was an active proselytising faith, and at least one Arab political leader converted to it. Christianity had active missions competing with the Persians' Zoroastrianism in seeking converts, especially among residents of the Arabian Peninsula. All these strands came together with the emergence of Islam in Arabia during the lifetime of Muhammad (d. 632). After his death, Islamic forces conquered much of the Eastern Empire and Persia, starting with Syria in 634–635 and reaching Egypt in 640–641, Persia between 637 and 642, North Africa in the later seventh century, and the Iberian Peninsula in 711. By 714, Islamic forces controlled much of the peninsula in a region they called Al-Andalus.The Islamic conquests reached their peak in the mid-eighth century. The defeat of Muslim forces at the Battle of Tours in 732 led to the reconquest of southern France by the Franks, but the main reason for the halt of Islamic growth in Europe was the overthrow of the Umayyad Caliphate and its replacement by the Abbasid Caliphate. The Abbasids moved their capital to Baghdad and were more concerned with the Middle East than Europe, losing control of sections of the Muslim lands. Umayyad descendants took over the Iberian Peninsula, the Aghlabids controlled North Africa, and the Tulunids became rulers of Egypt. By the middle of the 8th century, new trading patterns were emerging in the Mediterranean; trade between the Franks and the Arabs replaced the old Roman economy. Franks traded timber, furs, swords and slaves in return for silks and other fabrics, spices, and precious metals from the Arabs.
Document 6: Kyrgyzstan: The climate varies regionally. The low-lying Fergana Valley in the southwest is subtropical and extremely hot in summer, with temperatures reaching 40 °C (104 °F) The northern foothills are temperate and the Tian Shan varies from dry continental to polar climate, depending on elevation. In the coldest areas temperatures are sub-zero for around 40 days in winter, and even some desert areas experience constant snowfall in this period. In the lowlands the temperature ranges from around -−6 °C (21 °F) in January to 24 °C (75 °F) in July.
Document 7: Al-Kamil: Al-Kamil was the son of sultan al-Adil ("Saphadin"), a brother of Saladin. Al-Kamil's father was laying siege to the city of Mardin in 1199 when he was called away urgently to deal with a security threat in Damascus. Al-Adil left al-Kamil to command the forces around Mardin continuing the siege. Taking advantage of the Sultan's absence, the combined forces of Mosul, Sinjar and Jazirat ibn Umar appeared at Mardin when it was on the point of surrender, and drew Al-Kamil into battle. He was badly defeated and retreated to Mayyafariqin. However dissent and weakness among his opponents meant that Al-Kamil was able to secure Ayyubid rule in the Jazira region by taking Harran.
Document 8: Mu'nis al-Fahl: Under al-Mu'tadid he served as commander of the caliph's personal guard and led various expeditions against Bedouins and other restive elements in Iraq, while al-Muqtafi dispatched him in 906 against the Qarmatians. After al-Muqtafi's death, he played a decisive role in the suppression of the palace coup that briefly deposed al-Muqtadir in favour of Abdallah ibn al-Mu'tazz. He was then named treasurer ("khazin") and chief of security ("sahib al-shurta") to the Caliph. He died in 914.
Document 9: Middle Ages: Religious beliefs in the Eastern Empire and Persia were in flux during the late 6th and early 7th centuries. Judaism was an active proselytising faith, and at least one Arab political leader converted to it.[J] Christianity had active missions competing with the Persians' Zoroastrianism in seeking converts, especially among residents of the Arabian Peninsula. All these strands came together with the emergence of Islam in Arabia during the lifetime of Muhammad (d. 632). After his death, Islamic forces conquered much of the Eastern Empire and Persia, starting with Syria in 634–635 and reaching Egypt in 640–641, Persia between 637 and 642, North Africa in the later 7th century, and the Iberian Peninsula in 711. By 714, Islamic forces controlled much of the peninsula in a region they called Al-Andalus.
Document 10: Al-Mu'tadid: Al-Mu'tadid was the son of al-Muwaffaq, who was the regent and effective ruler of the Abbasid state during the reign of his brother, Caliph al-Mu'tamid. As a prince, the future al-Mu'tadid served under his father during various military campaigns, most notably in the suppression of the Zanj Rebellion, in which he played a major role. When al-Muwaffaq died in June 891 al-Mu'tadid succeeded him as regent. He quickly sidelined his cousin and heir-apparent al-Mufawwad, and when al-Mu'tamid died in October 892, he succeeded to the throne. Like his father, al-Mu'tadid's power depended on his close relations with the army. These were first forged during the campaigns against the Zanj and were reinforced in later expeditions which the Caliph led in person: al-Mu'tadid would prove to be the most militarily active of all Abbasid caliphs. Through his energy and ability, he succeeded in restoring to the Abbasid state some of the power and provinces it had lost during the turmoil of the previous decades.
Document 11: Ibn Muqla: Abu 'Ali Muhammad Ibn 'Ali ibn Muqla al-Shirazi (885/6 – 20 July 940/1) was a Persian official of the Abbasid Caliphate who rose to high state posts in the early 10th century. His career culminated in his own assumption of the vizierate at Baghdad thrice, in 928–930, 932–933 and 934–936. Unable to successfully challenge the growing power of regional emirs, he lost his position to the first "amir al-umara", Ibn Ra'iq, and died in prison. He was also a noted calligrapher.
Document 12: Rankous: Rankous or Rankus () is a Syrian town and summer resort in the province's Damascus countryside (Rif Dimashq) located in Mount Qalamoun (anti-Lebanon) in Syria, 45 km from Damascus, with a total area of 22.277 km ², extends between 1650 and 2150 m. The climate of the town is cool in summer and cold in winter. The rate of rain and snow usually varies between 350 and 650 mm. The mountains surrounding the town are covered with snow in winter. According to the Syria Central Bureau of Statistics (CBS), Rankous had a population of 7,717 in the 2004 census.
Document 13: Muslim conquest of the Levant: The Muslim conquest of the Levant (Arabic: اَلْـفَـتْـحُ الْإٍسْـلَامِيُّ لِـلـشَّـامِ ‎, Al - Faṫṫḥul - Islāmiyyuash - Shām) or Arab conquest of the Levant (Arabic: اَلْـفَـتْـحُ الْـعَـرَبِيُّ لِـلـشَّـامِ ‎, Al - Faṫṫḥul - ʿArabiyyu Lish - Shām) occurred in the first half of the 7th century, and refers to the conquest of the region known as the Levant or Shaam (Arabic: شَـام ‎, 'Syria'), later to become the Islamic Province of Bilad al - Sham, as part of the Islamic conquests. Arab Muslim forces had appeared on the southern borders even before the death of prophet Muhammad in 632, resulting in the Battle of Mu'tah in 629, but the real invasion began in 634 under his successors, the Rashidun Caliphs Abu Bakr and Umar ibn Khattab, with Khalid ibn al - Walid as their most important military leader.
Document 14: Umayyad Caliphate: Yazid died while the siege was still in progress, and the Umayyad army returned to Damascus, leaving Ibn al-Zubayr in control of Mecca. Yazid's son Muawiya II (683–84) initially succeeded him but seems to have never been recognized as caliph outside of Syria. Two factions developed within Syria: the Confederation of Qays, who supported Ibn al-Zubayr, and the Quda'a, who supported Marwan, a descendant of Umayya via Wa'il ibn Umayyah. The partisans of Marwan triumphed at a battle at Marj Rahit, near Damascus, in 684, and Marwan became caliph shortly thereafter.
Document 15: Umayyad Caliphate: Marwan was succeeded by his son, Abd al-Malik (685–705), who reconsolidated Umayyad control of the caliphate. The early reign of Abd al-Malik was marked by the revolt of Al-Mukhtar, which was based in Kufa. Al-Mukhtar hoped to elevate Muhammad ibn al-Hanafiyyah, another son of Ali, to the caliphate, although Ibn al-Hanafiyyah himself may have had no connection to the revolt. The troops of al-Mukhtar engaged in battles both with the Umayyads in 686, defeating them at the river Khazir near Mosul, and with Ibn al-Zubayr in 687, at which time the revolt of al-Mukhtar was crushed. In 691, Umayyad troops reconquered Iraq, and in 692 the same army captured Mecca. Ibn al-Zubayr was killed in the attack.
ground_truth: in 634
sub_queries: Al-Mu'tamid >> followed by Answer: Al-Mu'tadid
Al-Mu'tadid >> country of citizenship Answer: Iraq
Rankus >> country Answer: Syria
when did muslim armies invade Syria and #2 Answer: in 634