Title: Ottoman wars in Europe
Content:  World War I (1914–1918) became the ultimate cause of the collapse of the Ottoman Empire, which formally ended in 1922. However, during wartime operations the Empire prevented the British Royal Navy from reaching Constantinople, stopping an Entente invasion in the Battle of Gallipoli (1915–1916). Nevertheless, under the provisions of the Treaty of Lausanne (1923) the Empire ultimately fell.
Title: Dissolution of the Ottoman Empire
Content:  The Ottoman Empire entered WWI with the attack on Russia's Black Sea coast on 29 October 1914. The attack prompted Russia and its allies, Britain and France, to declare war on the Ottoman Empire in November 1914. The Ottoman Empire was active in the Balkans theatre and Middle Eastern theatre – the latter had five main campaigns: the Sinai and Palestine Campaign, the Mesopotamian Campaign, the Caucasus Campaign, the Persian Campaign, and the Gallipoli Campaign. There were also several minor campaigns: the North African Campaign, the Arab Campaign and the South Arabia Campaign. There were several important Ottoman victories in the early years of the war, such as the Battle of Gallipoli and the Siege of Kut. The Armistice of Mudros was signed on 31 October 1918, ending the Ottoman participation in World War I.
Title: Ottoman Empire in World War I
Content:  The Ottoman Empire came into World War I as one of the Central Powers. The Ottoman Empire entered the war by carrying out a surprise attack on Russia's Black Sea coast on 29 October 1914, with Russia responding by declaring war on 5 November 1914. Ottoman forces fought the Entente in the Balkans and the Middle Eastern theatre of World War I. The Ottoman Empire's defeat in the war in 1918 was crucial in the eventual dissolution of the empire in 1922.
Title: Abolition of the Ottoman sultanate
Content:  The Ottoman entry into World War I with the Central Powers occurred on 11 November 1914. The Middle Eastern theatre of World War I ended with the signing of the Armistice of Mudros on 30 October 1918. The Occupation of Constantinople by British, French and Italian forces occurred on 13 November 1918. The partitioning of the Ottoman Empire began with the Treaty of London (1915) and continued with multiple agreements, mostly unilateral among the Allies. British troops began to occupy the key buildings of the Empire and arrest nationalists after the establishment of military rule on the night of 15 March 1920. On 18 March 1920 the Ottoman parliament met and sent a protest to the Allies that it was unacceptable to arrest five of its members. That was the last 
Title: Ottoman Empire
Content:  Defeated on every front, the Ottoman Empire signed the Armistice of Mudros on 30 October 1918. Constantinople was occupied by combined British, French, Italian, and Greek forces. In May 1919, Greece also took control of the area around Smyrna (now İzmir). The partition of the Ottoman Empire was finalized under the terms of the 1920 Treaty of Sèvres. This treaty, as designed in the Conference of London, allowed the Sultan to retain his position and title. The status of Anatolia was problematic given the occupied forces. There arose a nationalist opposition in the Turkish national movement. It won the Turkish War of Independence (1919–1923) under the leadership of Mustafa Kemal (later given the surname "Atatürk"). The sultanate was abolished on 1 November 1922, and the last sultan, Mehmed VI (reigned 1918–1922), left the country on 17 November 1922. The Republic of Turkey was established in its place on 29 October 1923, in the new capital city of Ankara. The caliphate was abolished on 3 March 1924.
Title: Ottoman Empire in World War I
Content:  On 30 October 1918, the Armistice of Mudros was signed, ending Ottoman involvement in World War 1. The Ottoman public, however, was given misleadingly positive impressions of the severity of the terms of the Armistice. They thought its terms were considerably more lenient than they actually were, a source of discontent later that the Allies had betrayed the offered terms.
Title: Sinai and Palestine campaign
Content:  Aleppo, the third largest city in the Ottoman Empire, was captured on 25 October. The Ottoman government was quite prepared to sacrifice these non-Turkish provinces without surrendering. Indeed, while this battle was raging, the Ottoman Empire sent an expeditionary force into Russia to enlarge the ethnic Turkish elements of the empire. It was only after the surrender of Bulgaria, which put Ottoman Empire into a vulnerable position for invasion, that the Ottoman government was compelled to sign an armistice at Mudros on 30 October 1918, and surrendered outright two days later.
Title: Karboğazı ambush
Content:  Following the defeat of the Ottoman Empire in the First World War, the Ottoman army was disarmed according to the Armistice of Mudros. Although the Ottoman Empire had to agree to give up vast territories including most of Middle East, the Allies further retained the power of controlling what was left of the Ottoman Empire, namely Turkey. In this context, Allies occupied Mersin on 17 December 1918, just 47 days after the armistice. Soon, France occupied most of south Anatolia. Since the southwest was under Italian control and west Anatolia was under Greek control, Turkey lost the gateway to the Mediterranean Sea.
Title: Erzurum Congress
Content:  In the months leading up to the end of World War I, the Ottoman regime had undergone major restructuring. The government ministers of the Committee of Union and Progress, which ran the Ottoman government between 1913 and 1918, had resigned from office and fled the country soon afterwards. Successful Allied offensives in Salonika posed a direct threat to the Ottoman capital of Constantinople. Mehmed VI appointed Ahmed Izzet Pasha to the position of Grand Vizier and tasked him with the assignment of seeking an armistice with the Allied Powers and ending Ottoman involvement in the war. On 30 October 1918, an armistice was signed between the Ottomans, represented by the Minister of the Navy Rauf Bey, and the Allies, represented by British Admiral Somerset Gough-Calthorpe. The armistice ended Ottoman participation in the war and required the Empire's forces to stand down although there still remained approximately one million soldiers in the field and small scale fighting continued in the frontier provinces into November.
Title: International relations of the Great Powers (1814–1919)
Content:  Ottoman Empire, sent a fleet to join with the French expecting the Russians would back down. Diplomatic efforts failed. The Sultan declared war against Russia in October 1851. Following an Ottoman naval disaster in November, Britain and France declared war against Russia. Most of the battles took place in the Crimean peninsula, which the Allies finally seized. Russia was defeated and was forced to accept the Treaty of Paris, signed on 30 March 1856, ending the war. The Powers promised to respect Ottoman independence and territorial integrity. Russia gave up a little land and relinquished its claim to a protectorate over the Christians in the Ottoman domains. In a major blow to Russian 

Question: when did the ottoman empire surrender in ww1?
Answer: 1918.
30 October 1918.