Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Passage: Persia attempted to ratify the Treaty of Constantinople , by demanding that the Ja'fari, also known as the Imamiyyah was to be accepted as a fifth legal sect of Islam. In 1743, Nader Shah declared war on the Ottoman Empire. He demanded the surrender of Baghdad. The Persians had captured Baghdad in 1623 and Mosul in 1624, but the Ottomans had recaptured Mosul in 1625 and Bagdad in 1638. The Treaty of Zuhab in 1639 between the Ottoman Empire and the Safavid Empire had resulted in peace for 85 years. After the fall of the Safavid Dynasty, Russia and the Ottoman Empire agreed to divide the northwest and the Caspian region of Persia, but with the advent of Nader Shah, the Russians and the Turks withdrew from the region. Nader Shah waged war against the Ottomans from 1730 to 1736 but it ended with a stalemate. Nader Shah afterwards turned east and declared war on the Moghul Empire and invaded India, in order to refund his wars against the Ottomans.
Question: How many years passed between the capture of Baghdad and Mosul?
Answer type: Number
Student:
1.