This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.

Let me give you an example: Passage: The outbreak of the Seven Years' War in Europe in 1756 resulted in renewed conflict between French and British forces in India. The Third Carnatic War spread beyond southern India and into Bengal where British forces captured the French settlement of Chandernagore in 1757. However, the war was decided in the south, where the British successfully defended Madras, and Sir Eyre Coote decisively defeated the French, commanded by Comte de Lally at the Battle of Wandiwash in 1760. After Wandiwash, the French capital of Pondicherry fell to the British in 1761. The war concluded with the signing of the Treaty of Paris in 1763, which returned Chandernagore and Pondichery to France, and allowed the French to have "factories" in India but forbade French traders from administering them. The French agreed to support British client governments, thus ending French ambitions of an Indian empire and making the British the dominant foreign power in India.
Question: Which french settlement did the British capture first, Chandernagore or Pondicherry
Answer type: Span
The answer to this example can be: Chandernagore
Here is why: British captured Chandernagore in 1757 ("The Third Carnatic War spread beyond southern India and into Bengal where British forces captured the French settlement of Chandernagore in 1757") and Pondicherry in 1761 ("After Wandiwash, the French capital of Pondicherry fell to the British in 1761."). Since 1757<1761, the answer is "Chandernagore".

OK. solve this:
Passage: Giorgi-Malakia Abashidze was a Georgian nobleman and King of Imereti as George VI from 1702 to 1707. He was a member of the prominent Abashidze family. The youngest son of Prince Paata Abashidze, he was served as a priest until about 1684 when he entered politics after the death of his elder brother Paata Abashidze and began aggressively expanding his patrimonial fiefdom. He dispossessed the Chkheidze family of Shorapani, and the Agiashvili of Tsutskhvati, and took control of the royal domain in Upper Imereti. His daughter, Tamar, was married to the two successive kings of Imereti, Alexander IV and George V. During the reign of the latter monarch, Abashidze effectively ran the government and acted as an all-powerful kingmaker. In 1699, he gave his daughter Anika in marriage to King Simon of Imereti, but they divorced in 1700. In 1701, Abashidze compelled King Mamia of Imereti to abdicate and seized the throne for himself. He managed to establish a degree of stability in Imereti and ceased to pay tribute to the Ottoman Empire, triggering a military response in 1703. He also patronized culture and learning. Deposed after a revolt by the nobles, in favour of the rightful Bagrationi king George VII, Abashidze took refuge at the court of Vakhtang VI of Kartli in Tbilisi. He died there in 1722, and was buried in the Katskhi monastery in Imereti.
Question: How many years passed between the marriage of Anika and King Simon and the abdication of King Mamia?
Answer type: Number
Answer:
1.