The Senussi Campaign took place in North Africa, from November 1915 to February 1917, during the First World War between the British Empire and the Kingdom of Italy against the Senussi. The Senussi were a religious sect resident in Libya and Egypt, who were courted by the Ottoman Empire and the German Empire. In the summer of 1915, the Ottomans persuaded the Grand Senussi Ahmed Sharif as-Senussi to declare jihad, attack British-occupied Egypt from the west and encourage insurrection in Egypt, to divert British forces from an Ottoman Raid on the Suez Canal from Palestine. The Senussi crossed the Libyan-Egyptian border in November 1915 and fought a campaign along the Egyptian coast, where British Empire forces withdrew, then defeated the Senussi in several engagements, culminating in the Action of Agagia and the re-capture of the coast in March 1916. In the interior, the band of oases campaign continued until February 1917, after which a peace was negotiated and the area became quiet for the rest of the war, except for British patrols by aircraft and armoured cars.
Question: How many years passed between the Ottomans persuaded the Grand Senussi to declare jihad and peace was negotiated?
Answer: 2