Question: When did Muslim armies invade the country where Al-Qutayfah is found and the country where Al-Mu'tamid's follower was a citizen?

full_context: Document 1: 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 2: 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 3: 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 4: 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 5: 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.
Document 6: 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 7: 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 8: 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 9: 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 10: Al-Qamsiyah: Al-Qamsiyah () is a town in northwestern Syria, administratively part of the Tartus Governorate, located north of Tartus. Nearby localities include al-Annazeh, Maten al-Sahel and Husayn al-Baher to the southwest and Khawabi, Khirbet al-Faras and al-Shaykh Badr to the southeast. According to the Syria Central Bureau of Statistics (CBS), al-Qamsiyah had a population of 2,244 in the 2004 census. Its inhabitants are predominantly Alawites.
Document 11: 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 12: 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 13: 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 14: Qastal Ma'af: Qastal Ma'af () is a town in northwestern Syria, administratively part of the Latakia Governorate, located north of Latakia. Nearby localities include Kesab to the north, Mashqita and Ayn al-Bayda to the south and Rabia to the east. According to the Syria Central Bureau of Statistics, Qastal Ma'af had a population of 585 in the 2004 census. It is the administrative center of the Qastal Ma'af "nahiyah" ("subdistrict"), which consisted of 19 localities with a collective population of 16,784 in 2004. The inhabitants of the town are predominantly Turkmen Sunni Muslim, and the inhabitants of the surrounding villages and subdistrict are predominantly Alawites.
Document 15: Al-Qutayfah: Al-Qutayfah () is a city in Syria, administratively belonging to the Rif Dimashq Governorate, capital of the al-Qutayfah District. It is located approximately east of Damascus. According to the Syria Central Bureau of Statistics (CBS), al-Qutayfah had a population of 26,671 in the 2004 census. Its inhabitants are predominantly Sunni Muslims.
ground_truth: in 634
sub_queries: Al-Mu'tamid >> followed by Answer: Al-Mu'tadid
Al-Mu'tadid >> country of citizenship Answer: Iraq
Al-Qutayfah >> country Answer: Syria
when did muslim armies invade Syria and #2 Answer: in 634