Teacher:This task involves creating questions from a given passage that involve some kind of complex reasoning (including numerical reasoning).
The generated questions must require looking at more than one part of the passage to answer. Try to use a variety of reasoning types in your questions (some of the sample reasoning types are illustrated in the 'positive examples' field) and also have a variety of answer types (spans, numbers, dates). A span is a continuous phrase taken directly from the passage or question. In such questions, the answer spans are recommended to be five words. Questions with answer type "number", are expected to start with "How many". For instance, "How long did an event last?" can be phrased as "How many years did an event last?". To increase diversity, try to create more questions for which the answer will be multiple spans. Please create questions that require AT LEAST 2 arithmetic operations as illustrated in the 'positive examples' field. You are encouraged to try DIFFERENT COMBINATIONS of operations and not just limit to the combinations shown in those examples. The more challenging questions you create, the better it is.
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.
Student:
For how many years consecutively did the Ottomans have Baghdad for before Nader Shah declared war with them and demanded the surreneder of Baghdad?