This task is about writing a correct answer for the reading comprehension task. Based on the information provided in a given passage, you should identify the shortest continuous text span from the passage that serves as an answer to the given question. Avoid answers that are incorrect or provides incomplete justification for the question.

Input: Consider Input: Passage: Another civil war ensued after the death of Karim Khan in 1779, out of which Aqa Mohammad Khan emerged, founding the Qajar Dynasty in 1794. In 1795, following the disobedience of the Georgian subjects and their alliance with the Russians, the Qajars captured Tblisi by the Battle of Krtsanisi, and drove the Russians out of the entire Caucasus, reestablishing a short-lived Iranian suzerainty over the region. The Russo-Persian wars of 1804–1813 and 1826–1828 resulted in large irrevocable territorial losses for Iran in the Caucasus, comprising all of Transcaucasia and Dagestan, which made part of the very concept of Iran for centuries, and thus substantial gains for the neighboring Russian Empire. Question: Whose death in 1779 led to a civil war in Iran?

Output: Karim Khan


Input: Consider Input: Passage: Iranian art encompasses many disciplines, including architecture, painting, weaving, pottery, calligraphy, metalworking, and stonemasonry. The Median and Achaemenid empires left a significant classical art scene which remained as basic influences for the art of the later eras. Art of the Parthians was a mixture of Iranian and Hellenistic artworks, with their main motifs being scenes of royal hunting expeditions and investitures. The Sassanid art played a prominent role in the formation of both European and Asian medieval art, which carried forward to the Islamic world, and much of what later became known as Islamic learning, such as philology, literature, jurisprudence, philosophy, medicine, architecture, and science, were of Sassanid basis. Question: The Achaemind Empire along with what other group became the foundation for the art in later Iranian history?

Output: The Median


Input: Consider Input: Passage: Ptolemy, a somatophylax, one of the seven bodyguards who served as Alexander the Great's generals and deputies, was appointed satrap of Egypt after Alexander's death in 323 BC. In 305 BC, he declared himself King Ptolemy I, later known as "Soter" (saviour) for his role in helping the Rhodians during the siege of Rhodes. Ptolemy built new cities such as Ptolemais Hermiou in upper Egypt and settled his veterans throughout the country, especially in the region of the Faiyum. Alexandria, a major center of Greek culture and trade, became his capital city. As Egypt's first port city, it was the main grain exporter in the Mediterranean. Question: Where did Ptolemy settle his most of his veterans?


Output: Faiyum