Question: How many years did the war last where the castle was strengthened in the middle of it? Passage 1:The modern Albanian-Serbian conflict has its roots in the expulsion of the Albanians in 1877-1878 from areas that became incorporated into the Principality of Serbia. Prior to the outbreak of the First Balkan War, the Albanian nation was fighting for a national state. At the end of 1912, the Porte recognised the autonomy of Albanian vilayet. These events for Albanian autonomy and Ottoman weakness were viewed at the time as directly threatening the Christian population of the region with extermination. The Balkan League (comprising Serbia, Montenegro, Greece and Bulgaria) jointly attacked the Ottoman Empire and during the next few months partitioned all Ottoman territory inhabited by Albanians. The Kingdom of Serbia and the Kingdom of Greece occupied most of the land of what is today Albania and other lands inhabited by Albanians on the Adriatic coast. Montenegro occupied a part of today's northern Albania around Shkodër. The Serbian army in the region viewed its role as protecting local Orthodox Christian communities and avenging the medieval battle of Kosovo, though it forced Catholic Albanians to convert to Orthodox Christianity.
 Passage 2:Naitō Yorinao was the seventh son of Naitō Yoriyasu. However, as all of his elder brothers died in childhood he became daimyō in 1859 on the retirement of his father. In 1860, he established a han school, the Shintoku-kan (進徳館) in Takatō. He served as part of the escort to Princess Kazunomiya during her travel to Edo to marry the Shogun Tokugawa Iemochi in 1861. Following the Namamugi Incident of 1862, during which British subjects were killed by the retinue of Shimazu Hisamitsu, he was ordered by the shogunate to deploy his troops to Yokohama to increase security. These troops subsequently accompanied the Shogun's forces during the First Chōshū expedition. However, with the start of the Boshin War in 1868, Takatō quickly joined the imperial side against the Tokugawa. Even so, the domain was ordered to pay 2000 ryō to the new Meiji government to help pay for war expenses. Troops from Takatō participated in the Battle of Aizu under the command of Prince Saionji Kinmochi. Yorinao was appointed imperial governor of Takatō in 1869, serving until the abolition of the han system in 1871. He relocated to Tokyo at that time, and died in 1879. His grave is at the temple of Taizō-ji in Shinjuku, Tokyo.
 Passage 3:In 1575, in the middle of the Wars of Religion, the castle was strengthened. It was nevertheless besieged and taken by the Geuzen, locally known as the Hurlus in 1579, before being taken back three months later. In 1627, Philip IV of Spain promoted the seigneury to the rank of county. The Franco-Dutch War under Louis XIV devastated this mostly agricultural region. Mouscron and the surrounding area became French after the Treaty of Aix-la-Chapelle (1668). Part of it rejoined the Southern Netherlands after the Treaty of Nijmegen (1678), which drew the frontier right through its territory. It was finally completely ceded to the Southern Netherlands under the terms of the Treaty of Utrecht in 1713. The textile industry started in Mouscron in the 1760s thanks to the imposition by Lille of a ban on the fabrication of molletons, a mixture of flax and wool, in Roubaix and Tourcoing. With the Battle of Fleurus (1794), Mouscron went back to France.

Output: 3