instruction:
This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
question:
Passage: Following the withdrawal of the SNA, the WSLF continued their insurgency. By May 1980, the rebels, with the assistance of a small number of SNA soldiers who continued to help the guerrilla war, controlled a substantial region of the Ogaden. However, by 1981 the insurgents were reduced to sporadic hit-and-run attacks and were finally defeated. In addition, the WSLF and SALF were significantly weakened after the Ogaden War. The former was practically defunct by the late 1980s, with its splinter group, the Ogaden National Liberation Front  operating from headquarters in Kuwait. Even though elements of the ONLF would later manage to slip back into the Ogaden, their actions had little impact. For the Barre regime, the invasion was perhaps the greatest strategic blunder since independence, and it weakened the military. Almost one-third of the regular SNA soldiers, three-eighths of the armored units and half of the Somali Air Force  were lost. The weakness of the Barre administration led it to effectively abandon the dream of a unified Greater Somalia. The failure of the war aggravated discontent with the Barre regime; the first organized opposition group, the Somali Salvation Democratic Front , was formed by army officers in 1979. The United States adopted Somalia as a Cold War ally from the late 1970s to 1988 in exchange for use of Somali bases, and a way to exert influence upon the region. A second armed clash in 1988 was resolved when the two countries agreed to withdraw their militaries from the border.
Question: When did the WSLF lose control over a substantial region of the Ogaden?
answer:
date


question:
Passage: According to the census in 2005, there were 2,628,811 residents in Osaka, an increase of 30,037 or 1.2% from 2000. There were 1,280,325 households with approximately 2.1 persons per household. The population density was 11,836 persons per km². The 1923 Great Kantō earthquake caused a mass migration to Osaka between 1920 and 1930, and the city became Japans largest city in 1930 with 2,453,573 people, outnumbering even Tokyo, which had a population of 2,070,913. The population peaked at 3,252,340 in 1940, and had a post-war peak of 3,156,222 in 1965, but continued to decrease since, as the residents moved out to the suburbs.
Question: Which year had a higher peak in population, 1940 or 1965?
answer:
date


question:
Passage: The first reinforcement to the Teutonic forces arrived in early 1261, but was wiped out on January 21, 1261 by Herkus Monte in the Battle of Pokarwis. In January 1262 reinforcements arrived from the Rhineland, led by Wilhelm VII, Duke of Jülich, who was obliged by Pope Alexander IV to fulfil his crusader duties in Prussia. This army broke the Siege of Königsberg but as soon as the army returned home, the Sambians resumed the siege and were reinforced by Herkus Monte and his Natangians. Herkus was later injured and the Natangians retreated, leaving the Sambians unable to stop supplies reaching the castle and the siege eventually failed. Prussians were more successful capturing castles deeper into the Prussian territory , and the Knights were left only with strongholds in Balga, Elbing, Culm, Thorn, and Königsberg. Most castles fell in 1262-1263, and Bartenstein fell in 1264. The Prussians destroyed captured forts instead of using them for their own defence, so the end of successful sieges meant that large Prussian forces did not have to stay near their home and were then free to operate in other parts of Prussia, raiding the Culmerland and Kuyavia. A recovered Herkus Monte raided Culmerland with a large force and took many prisoners in 1263. On his way back to Natangia, Herkus and his men were confronted by a contingent of their enemies. In the Battle of Löbau that ensued, Prussians killed forty knights, including the Master and the Marshal. The Prussians also received help from Lithuanians and Sudovians. In summer of 1262 Treniota and Shvarn attacked Masovia, killing Duke Siemowit I, and raided Culmerland, provoking Pogesanians to join the uprising. However, assassination of Mindaugas and subsequent dynastic fights prevented Lithuanians from further campaigns. Skalmantas, leader of Sudovians, raided Culm  in 1263 and in 1265.
Question: How many years after most castles fall did Bartenstein finally fall?
answer:

number