Question: Who succeeded Shepseskaf as king of ancient Marwan's death country?

full_context: Document 1: Great Pyramid of Giza: There are three known chambers inside the Great Pyramid. The lowest chamber is cut into the bedrock upon which the pyramid was built and was unfinished. The so - called Queen's Chamber and King's Chamber are higher up within the pyramid structure. The main part of the Giza complex is a setting of buildings that included two mortuary temples in honour of Khufu (one close to the pyramid and one near the Nile), three smaller pyramids for Khufu's wives, an even smaller ``satellite ''pyramid, a raised causeway connecting the two temples, and small mastaba tombs surrounding the pyramid for nobles.
Document 2: 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 3: Umayyad Caliphate: Hisham suffered still worse defeats in the east, where his armies attempted to subdue both Tokharistan, with its center at Balkh, and Transoxiana, with its center at Samarkand. Both areas had already been partially conquered, but remained difficult to govern. Once again, a particular difficulty concerned the question of the conversion of non-Arabs, especially the Sogdians of Transoxiana. Following the Umayyad defeat in the "Day of Thirst" in 724, Ashras ibn 'Abd Allah al-Sulami, governor of Khurasan, promised tax relief to those Sogdians who converted to Islam, but went back on his offer when it proved too popular and threatened to reduce tax revenues. Discontent among the Khurasani Arabs rose sharply after the losses suffered in the Battle of the Defile in 731, and in 734, al-Harith ibn Surayj led a revolt that received broad backing from Arabs and natives alike, capturing Balkh but failing to take Merv. After this defeat, al-Harith's movement seems to have been dissolved, but the problem of the rights of non-Arab Muslims would continue to plague the Umayyads.
Document 4: Pyramid of Userkaf: After his investigations Perring buried the robbers tunnel which remains inaccessible to this day. The pyramid of Userkaf entered the official records a few years later in 1842 when Karl Richard Lepsius catalogued it in his list of pyramids under number XXXI. Since Perring had already buried the robbers tunnel by that time, K. R. Lepsius did not investigate the pyramid any further.The pyramid was then neglected until October 1927, when Cecil Mallaby Firth and the architect Jean-Philippe Lauer started excavating there. During the first season of excavation, Firth and Lauer cleared the south side of the pyramid area, discovering Userkaf's mortuary temple and tombs of the much later Saite period. The following year, Firth and Lauer uncovered a limestone relief slab and a colossal red granite head of Userkaf, thus determining that he was the pyramid owner. After Firth's death in 1931 no excavations took place on site until they were resumed by Lauer in 1948. Lauer worked there until 1955, re-clearing and re-planning the mortuary temple and investigating the eastern side of the pyramid. Research on the north and west sides of the mortuary complex was conducted starting in 1976 by Ahmed el-Khouli who excavated and restored the pyramid entrance. The entrance was, however, buried under rubble in an earthquake in 1991. More recent work on the pyramid was undertaken by Audran Labrousse in 2000.
Document 5: Sekhemre-Wepmaat Intef: Both Sekhemre-Wepmaat Intef and Nubkheperre Intef were sons of a king called Sobekemsaf, most probably Sekhemre Shedtawy Sobekemsaf (Sobekemsaf II today, not I) based on an inscription from a doorjamb from a 17th Dynasty temple at Gebel Antef. While his own tomb has not been located, it was likely located in the area of Dra' Abu el-Naga' where the pyramid tomb of his brother Nubkheperre Intef was found in 2001. The pyramidion of the pyramid of Sekhemre-Wepmaat Intef's pyramid was found in Dra' Abu el-Naga'. It has a slope of 60 degrees and is inscribed with this king's names. The pyramidion is now in the British Museum (BM EA 478).
Document 6: Giza pyramid complex: The Pyramids of Giza consist of the Great Pyramid of Giza (also known as the Pyramid of Cheops or Khufu and constructed c. 2560 -- 2540 BC), the somewhat smaller Pyramid of Khafre (or Chephren) a few hundred meters to the south - west, and the relatively modest - sized Pyramid of Menkaure (or Mykerinos) a few hundred meters farther south - west. The Great Sphinx lies on the east side of the complex. Current consensus among Egyptologists is that the head of the Great Sphinx is that of Khafre. Along with these major monuments are a number of smaller satellite edifices, known as ``queens ''pyramids, causeways and valley pyramids.
Document 7: 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 8: Pyramid of Userkaf: Userkaf's pyramid is part of a larger mortuary complex comprising a mortuary temple, an offering chapel and a cult pyramid as well as separate pyramid and mortuary temple for Userkaf's wife, queen Neferhetepes. Userkaf's mortuary temple and cult pyramid are today completely ruined and difficult to recognize. The pyramid of the queen is no more than a mound of rubble, with its funerary chamber exposed by stone robbers.The complex is markedly different from those built during the 4th Dynasty (c. 2613–2494 BC) in its size, architecture and location, being at Saqqara rather than Gizah. As such, Userkaf's pyramid complex could be a manifestation of the profound changes in the ideology of kingship that took place between the 4th and 5th dynasties, changes that may have started during the reign of Userkaf's likely immediate predecessor, Shepseskaf. Some 1500 years after its construction, the pyramid complex was restored under Ramses II. During the much later Saite period (664–525 BC), it was used as a cemetery.
Document 9: 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 10: 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 11: Umayyad Caliphate: Around 746, Abu Muslim assumed leadership of the Hashimiyya in Khurasan. In 747, he successfully initiated an open revolt against Umayyad rule, which was carried out under the sign of the black flag. He soon established control of Khurasan, expelling its Umayyad governor, Nasr ibn Sayyar, and dispatched an army westwards. Kufa fell to the Hashimiyya in 749, the last Umayyad stronghold in Iraq, Wasit, was placed under siege, and in November of the same year Abu al-Abbas was recognized as the new caliph in the mosque at Kufa.[citation needed] At this point Marwan mobilized his troops from Harran and advanced toward Iraq. In January 750 the two forces met in the Battle of the Zab, and the Umayyads were defeated. Damascus fell to the Abbasids in April, and in August, Marwan was killed in Egypt.
Document 12: 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 13: Pyramid of Djoser: The Pyramid of Djoser (or Djeser and Zoser), or step pyramid (kbhw - ntrw in Egyptian) is an archeological remain in the Saqqara necropolis, Egypt, northwest of the city of Memphis. It was built during the 27th century BC for the burial of Pharaoh Djoser by his vizier, Imhotep. It is the central feature of a vast mortuary complex in an enormous courtyard surrounded by ceremonial structures and decoration.
Document 14: Pyramid of Userkaf: Userkaf's pyramid is located on the northeast corner of Djoser's step pyramid complex. The pyramid was originally around 49 metres (161 ft) high and 73 metres (240 ft) large with an inclination of 53° identical to that of Khufu's great pyramid for a total volume of 87,906 m3 (114,977 cu yd). The core of the pyramid is built of small, roughly-hewn blocks of local limestone disposed in horizontal layers. This meant a considerable saving of labor as compared to the large and more accurately-hewn stone cores of 4th Dynasty pyramids. However, as the outer casing of Userkaf's pyramid fell victim to stone robbers throughout the millennia, the loosely assembled core material was progressively exposed and fared much worse over time than that of the older pyramids. This explains the current ruined state of the pyramid.The pyramid core was constructed in a step-like structure, a construction technique similar to that of the 4th dynasty although the building material was of a significantly lower quality. The outer casing of the pyramid was made of fine Tura limestone which certainly ensured Userkaf's construction an appearance similar to that of the glorious 4th Dynasty pyramids. There was however no red granite paneling over the lower part of the pyramid as in the case of the Pyramid of Menkaure.
Document 15: Umayyad Caliphate: Early Muslim armies stayed in encampments away from cities because Umar feared that they might get attracted to wealth and luxury. In the process, they might turn away from the worship of God and start accumulating wealth and establishing dynasties. When Uthman ibn al-Affan became very old, Marwan I, a relative of Muawiyah I, slipped into the vacuum, became his secretary, slowly assumed more control and relaxed some of these restrictions. Marwan I had previously been excluded from positions of responsibility. In 656, Muhammad ibn Abi Bakr, the son of Abu Bakr, the adopted son of Ali ibn Abi Talib, and the great grandfather of Ja'far al-Sadiq, showed some Egyptians the house of Uthman ibn al-Affan. Later the Egyptians ended up killing Uthman ibn al-Affan.
ground_truth: Userkaf
sub_queries: Where did Marwan die? Answer: Egypt
Who succeeded Shepseskaf as king of ancient Egypt ? Answer: Userkaf