The Senussi campaign took place in North Africa from November 1915 to February 1917, during the First World War. The campaign was fought by the Kingdom of Italy and the British Empire against the Senussi, a religious order of Arabic nomads in Libya and Egypt. The Senussi 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 to encourage insurrection in Egypt to divert British forces. The Senussi crossed the Libyan–Egyptian border in November 1915 and fought a campaign along the Egyptian coast. At first 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 a backwater for the rest of the war, patrolled by British aircraft and armoured cars. Before 1906, when the Senussi became involved in resistance against the French, they had been a "relatively peaceful religious sect of the Sahara Desert, opposed to fanaticism". In the Italo-Turkish War (29 September 1911 – 18 October 1912), Italian forces occupied enclaves along the Libyan coast and the Senussi resisted from the interior, maintaining generally friendly relations with the British in Egypt. In 1913, the Italians had been defeated at the action of Etangi, but in 1914 Italian reinforcements led to a revival and by January the Senussi were in south-eastern Cyrenaica. The Senussi had about 10,000 men armed with modern rifles, with ammunition from a factory which produced 1,000 rounds a day. Intermittent fighting continued between the Italians in fortified towns and the Senussi ranging through the desert. The British declared war on the Ottoman Empire on 5 November and the Ottomans encouraged the Senussi to attack Egypt from the west.