Input: Article: General Aguirre moved to the deserts of the southeastern portion of the state and defeated the French forces in Parral, led by Colonel Cottret. By the middle of 1866, the state of Chihuahua was declared free of enemy control; Parral was the last French stronghold within the state. On June 17, 1866, President Juárez arrived in Chihuahua City and remained in the capital until December 10, 1866. During his two years in the state of Chihuahua, President Juárez passed ordinances regarding the rights of adjudication of property and nationalized the property of the clergy. The distance of the French forces and their allies allowed the Ministry of War, led by General Negrete, to reorganize the state's national guard into the Patriotic Battalion of Chihuahua, which was deployed to fight in the battle of Matamoros, Tamaulipas against the French. After a series of major defeats and an escalating threat from Prussia, France began pulling troops out of Mexico in late 1866. Disillusioned with the liberal political views of Maximilian, the Mexican conservatives abandoned him, and in 1867 the last of the Emperor's forces were defeated. Maximilian was sentenced to death by a military court; despite national and international pleas for amnesty, Juárez refused to commute the sentence. Maximilian was executed by firing squad on June 19, 1867.

Now answer this question: During which year was Chihuahua declared free of enemy control?

Output: 1866

Input: Article: Public education in Tajikistan consists of 11 years of primary and secondary education but the government has plans to implement a 12-year system in 2016. There is a relatively large number of tertiary education institutions including Khujand State University which has 76 departments in 15 faculties, Tajikistan State University of Law, Business, & Politics, Khorugh State University, Agricultural University of Tajikistan, Tajik State National University, and several other institutions. Most, but not all, universities were established during the Soviet Era. As of 2008[update] tertiary education enrollment was 17%, significantly below the sub-regional average of 37%. Many Tajiks left the education system due to low demand in the labor market for people with extensive educational training or professional skills.

Now answer this question: How many years of school are there in the Tajikistan school system?

Output: 11 years of primary and secondary education

Input: Article: The state seemed at relative calm compared to the rest of the country due to its close ties to the United States until 1841. In 1843 the possibility of war was anticipated by the state government and it began to reinforce the defense lines along the political boundary with Texas. Supplies of weapons were sent to fully equip the military and took steps to improve efficiency at the presidios. Later, the Regimen for the Defenders of the Border were organized by the state which were made up of: light cavalry, four squads of two brigades, and a small force of 14 men and 42 officials at the price of 160,603 pesos per year. During the beginning of the 1840s, private citizens took it upon themselves to stop the commercial caravans of supplies from the United States, but being so far away from the large suppliers in central Mexico the caravan was allowed to continue in March 1844. Continuing to anticipate a war, the state legislature on July 11, 1846 by decree enlisted 6,000 men to serve along the border; during that time Ángel Trías quickly rose to power by portraying zealous anti-American rhetoric. Trías took the opportunity to dedicate important state resources to gain economic concessions from the people and loans from many municipalities in preparation to defend the state; he used all the money he received to equip and organize a large volunteer militia. Ángel Trías took measures for state self-dependence in regards to state militia due to the diminishing financial support from the federal government.

Now answer this question: Until what year did the state remain calm?

Output:
1841