The Ottoman entry into World War I began on 29 October 1914 when it attacked Russia's Black Sea Coast in a surprise naval action. Following the attack, Russia and its allies, Britain and France, declared war on the Ottomans in November 1914. The Ottoman commencement of military action came after three months of formal neutrality, although it had signed a secret alliance with the Central Powers in August 1914.
The political reasons for the Ottoman Sultan's entry into the war are disputed. The Ottoman Empire was an agricultural state in an age of industrialized warfare. The economic resources of the empire were depleted by the cost of the Balkan Wars of 1912 and 1913.
The great land mass of Anatolia was between the Ottoman army’s headquarters in Istanbul and many of the theaters of war. During Abdulhamit II's reign civilian communications had improved, but the road and rail network was not ready for war. It took more than a month to reach Syria and nearly two months to reach Mesopotamia. To reach the border with Russia; the railway ran only 60 km east of Ankara, and from there it was 35 days to Erzurum. The Army used Trabzon port as logistical shortcut to east. It took less time to arrive at any of these fronts from London than from the Ottoman War Department, given the poor condition of Ottoman supply ships.
The Empire fell into disorder with the declaration of war along with Germany. On 11 November a conspiracy was discovered in Constantinople against Germans and the CUP, in which some of the CUP leaders were shot. This followed the 12 November revolt in Adrianople against the German military mission. On 13 November a bomb exploded in Enver Pasha's palace, which killed five German officers but missed the Enver Pasha. These events were followed on 18 November with more anti-German plots. Committees formed around the country to rid the country of those siding with Germany. Army and navy officers protested against the assumption of authority by Germans. On 4 December widespread riots took place throughout the country. On 13 December there was an anti-war demonstration by women in Konak (Izmir) and Erzurum. Throughout December the CUP dealt with mutiny among soldiers in barracks and among naval crews. The head of the German Military Mission Field Marshal von der Goltz had a conspiracy against his life.
The military power remained firmly in the hands of War Minister Enver Pasha, domestic issues (civil matters) on Interior Minister Talat Pasha, and, an interesting point, Cemal Pasha had the control over Ottoman Syria singlehandedly. Rest of the governance, provincial governors, ran their regions with differing degrees of autonomy. An interesting case is Izmir; Rahmi Bey behaved almost as if his region was a neutral zone between the warring states.
War with Russia
Ottoman's entrance into the war greatly increased the Triple Entente's military burdens. Russia had to fight on the Caucasus Campaignalone and in the Persian Campaign along with the United Kingdom. İsmail Enver Pasha set off for the Battle of Sarikamish with the intention of recapturing Batum and Kars, overrunning Georgia and occupying north-western Persia and the oil fields. Fighting the Russians in the Caucasus, however, the Ottomans lost ground, and over 100,000 soldiers, in a series of battles. 60,000 Ottoman soldiers died in the winter of 1916—17 on the Mus—Bitlis section of the front. Ottomans preferred to keep the Caucasus militarily silent as they had to regroup reserves to retake Baghdad and Palestine from the British. 1917 and first half of 1918 was the time for negotiations. On 5 December 1917, the armistice of Erzincan (Erzincan Cease-fire Agreement) signed between the Russians and Ottomans in Erzincan that ended the armed conflicts between Russia and Ottoman Empire. On 3 March, the Grand vizier Talat Pasha signed the Treaty of Brest-Litovsk with the Russian SFSR, (#Battles of ideals, rhetoric, 1917). It stipulated that Bolshevik Russia cede Batum, Kars, and Ardahan. In addition to these provisions, a secret clause was inserted which obligated the Russians to demobilize Armenian national forces.
Between 14 March – April 1918 the Trabzon peace conference held among the Ottoman Empire and the delegation of the Transcaucasian Diet. Enver Pasha offered to surrender all ambitions in the Caucasus in return for recognition of the Ottoman reacquisition of the east Anatolian provinces at Brest-Litovsk at the end of the negotiations. On 5 April, the head of the Transcaucasian delegation Akaki Chkhenkeli accepted the Treaty of Brest-Litovsk as a basis for more negotiations and wired the governing bodies urging them to accept this position. The mood prevailing in Tiflis was very different. Tiflis acknowledge the existence of a state of war between themselves and the Ottoman Empire.
In April 1918, the Ottoman 3rd Army finally went on the offensive in Armenia. Opposition from Armenian forces led to the Battle of Sardarapat, the Battle of Kara Killisse (1918), and the Battle of Bash Abaran. On 28 May 1918, the Armenian National Council based in Tiflis declared the Democratic Republic of Armenia. The new Republic of Armenia was forced to sign the Treaty of Batum.
In July 1918, Ottomans faced with the Centrocaspian Dictatorship at the Battle of Baku, with the goal of taking Baku on the Caspian Sea.
War with Britain
The British captured Basra in November 1914, and marched north into Iraq. Initially Ahmed Djemal Pasha was ordered to gather an army in Palestine to threaten the Suez Canal. In response, the Allies—including the newly formed Australian and New Zealand Army Corps ("ANZACs")—opened another front with the Battle of Gallipoli. The army led by Ahmed Djemal Pasha (Fourth Army) to eject the British from Egypt was stopped at the Suez canal in February 1915, and again the next summer. The canal was vital to the British war effort. The 1915 locust plague breaks out in the Palestine region, to be exact the Ottoman military hospitals record the period as March–October 1915:
The expected, and feared, British invasion came not through Cilicia or northern Syria, but through the straits. The aim of the Dardanelles campaign was to support Russia. Most military observers recognized that the uneducated Ottoman soldier was lost without good leadership, and at Gallipoli Mustafa Kemal realized the capabilities of his man if their officers led from the front. The war was something from a different era, as the agrarian Ottoman Empire faced two industrialized forces, at silent predawn attacks in which officers with drawn swords vent ahead of troops and only the troops to shout their battlecry of "Allahu Akbar!" when they reached the enemy’s trenches.
The United Kingdom was obliged to defend India and the southern Persian oil territory by undertaking the Mesopotamian campaign. Britain also had to protect Egypt in the Sinai-Palestine-Syria Campaign. These campaigns strained Allied resources and relieved Germany.
The repulse of British forces in Palestine in the spring of 1917 was followed by the loss of Jerusalem in December of the same year. The Ottoman authorities deport the entire civilian population of Jaffa and Tel Aviv, The Tel Aviv and Jaffa deportation, pursuant to the order from Ahmed Jamal Pasha on 6 April 1917. The Muslim evacuees allowed to return before long, At the same period the Balfour Declarationwas being negotiated (published on 2 November 1917) in which the British Government declares its support for the establishment of a Jewish national home in Palestine. Ahmed Jamal Pasha effectively separates these groups. The Jewish evacuees returned after the British conquest of Palestine.
The Ottomans were eventually defeated due to key attacks by the British general Edmund Allenby.
Empire in home front
The war tested to the limit the empire’s relations with its Arab population. In February 1915 in Syria, Cemal Pasha exercised absolute power in both military and civil affairs.Cemal Pasha was convinced that an uprising among local Arabs was imminent. Leading Arabs were executed, and notable families deported to Anatolia. Cemal’s policies did nothing to alleviate the famine that was gripping Syria; it was exacerbated by a British and French blockade of the coastal ports, the requisitioning of transports, profiteering and — strikingly — Cemal’s preference for spending scarce funds on public works and the restoration of historic monuments During the war, Britain had been a major sponsor of Arab nationalist thought and ideology, primarily as a weapon to use against the power of the Empire. Sharif Hussein ibn Ali rebelled against the Ottoman rule during the Arab Revolt of 1916. In August he was replaced by Sharif Haydar, but in October he proclaimed himself king of Arabia and in December was recognized by the British as an independent ruler. There was little the Empire could do to influence the course of events, other than try to prevent news of the uprising spreading, prevent it to demoralize the army or act as a propaganda for anti-Ottoman Arab factions. On 3 October 1918 forces of the Arab Revolt enter Damascus accompanied by British troops, ending 400 years of Ottoman rule.
War in Eastern Europe
In order to support the other Central Powers, Enver Pasha sent 3 Army Corps or around 100.000 men to fight in Eastern Europe. 
• VI Corps under command of Mustafa Hilmi Pasha participated in the Romanian Campaign between September 1916 and April 1918.
• XV Corps under command of Yakup Şevki Subaşı and later Cevat Pasha fought in Galicia against the Russians between August 1916 and August 1917.
• XX Corps under command of Abdul Kerim Pasha participated in the Salonika Campaign between December 1916 and May 1917.
• The Rumeli Field Detachment (reinforced 177th Infantry Regiment) remained in Macedonia until May 1918.
The Constantinople Agreement on 18 March 1915 was a set of secret assurances, which Great Britain promised to give the Capital, and the Dardanelles to the Russians in the event of victory. The city of Constantinople was intended to be a free port.
During 1915, British forces invalidated the Anglo-Ottoman Convention, declaring Kuwait to be an "independent sheikdom under British protectorate."[this quote needs a citation]
Capitulations and public debt, 1915
On 10 September 1915, Interior Minister Talat Pasha abolished the "Capitulations". On 10 September 1915 Grand Vizier Said Halim Pasha annulled (Vizer had the authority on annuls) the Capitulations, which ended the special privileges they granted to foreign nationals. The capitulation holders refused to recognize his action (unilateral action). The American ambassador expressed the Great Power view:
The capitulary regime, as it exists in the Empire, is not an autonomous institution of the Empire, but the result of international treaties, of diplomatic agreements and of contractual acts of various sorts. The regime, consequently, cannot be modified in any of its parts and still less suppressed in its entirety by the Ottoman Government except in consequence of an understanding with the contracting Powers.
— Henry Morgenthau, Sr.
Beside the capitulations, there was another issue which evolved under the shadow of capitulations. The dept and financial control (revenue generation) of the empire was intertwined under single institution, which its board was constituted from Great Powers rather than Ottomans. There is no sovereignty in this design. The public debt could and did interfere in state affairs because it controlled (collected) one-quarter of state revenues. The debt was administered by the Ottoman Public Debt Administration and its power extended to the Imperial Ottoman Bank (equates to modern central banks). Debt Administration controlled many of the important revenues of the empire. The council had power over every financial affairs. Its control extended to determine the tax on livestock in districts. Ottoman public debt was part of a larger scheme of political control, through which the commercial interests of the world had sought to gain advantages that may not be to Empire's interest. The immediate purpose of the abolition of capitulations and the cancellation of foreign debt repayments was to reduce the foreign stranglehold on the Ottoman economy; a second purpose — and one to which great political weight was attached – was to extirpate non—Muslims from the economy by transferring assets to Muslim Turks and encouraging their participation with government contracts and subsidies.
The French-Armenian Agreement of 27 October 1916, was reported to the interior minister, Talat Pasha, which agreement negotiations were performed with the leadership of Boghos Nubar the chairman of the Armenian National Assembly and one of the founder of the AGBU.
In 1917 the Ottoman Cabinet considered maintaining relations with Washington after the United States had declared war on Germany on 6 April. But the views of the war party prevailed and they insisted on maintaining a common front with their allies. Thus, relations with America were broken on 20 April 1917.
Diplomacy with new Russia, 1917
The 1917 Russian revolution changed the realities. The war devastated not only Russian soldiers, also the Russian economy was breaking down under the heightened strain of wartime demand by the end of 1915. The tsarist regime’s advances for the security on its southern borders proved ruinous. The tsarist regime desire to control the Eastern Anatolia and the straits (perceived as underbelly), but underbelly created the conditions that brought about Russia's own downfall. Unable to use Straits disrupted the Russian supply chain. Russia might survived without the Straits, but the strain was the tipping point for its war economy. This question was left to Soviet historians: "whether a less aggressive policy toward the Ottoman Empire before the war would have caused Istanbul to maintain neutrality or whether Russia later might have induced Istanbul to leave the war,[a] the outcome of tsarist future would be different. Nicholas's inept handling of his country and the war destroyed the Tsar and ended up costing him both his reign and his life.
Enver immediately instructed the Vehib Pasha, Third Army, to propose a ceasefire to Russia’s Caucasus Army. Vehib cautioned withdrawing forces, as due to the politics in Russia — neither Russia’s Caucasus Army nor Caucasian civil authorities give assurance that an armistice would hold. On 7 November 1917 the Bolshevik Party led by Vladimir Lenin over threw the Provisional Government in a violent coup plunged Russia into multitude of civil wars between ethnic groups. The slow dissolution of Russia’s Caucasus Army relieved one form of military threat from the east but brought another one. Russia was a long time threat, but at the same time kept the civil unrest in his land at bay without spreading to Ottomans in a violent. On 3 December the Ottoman foreign minister Ahmed Nesimi Bey informed the "Chamber of Deputies" about the prospects. Chamber discussed the possible outcomes and priorities. On 15 December Armistice between Russia and the Central Powers signed. On 18 December Armistice of Erzincansigned. The Bolsheviks’ anti-imperialist formula of peace with no annexations and no indemnities was close to Ottoman position. The Bolsheviks' position brought a conflict with the Germany's aim to preserve control over the East European lands it occupied and with Bulgaria’s claims on Dobruja and parts of Serbia. In December Enver informed the Quadruple Alliance that they would like to see the 1877 border (Russo-Turkish War (1877–1878)), pointing out that the only Ottomans lost territory and 1877 boarder was Ottoman territories inhabited by Muslims.
Ottomans did not pushed 1877 position too hard, scared to fall back to bilateral agreements. On the other hand, Germany, Austria-Hungary, and Bulgaria clearly stood behind on the pulling back the Ottoman and Russian forces from Iran. Ottomans wanted Muslim Iran be under its own control. The ambassador to Berlin, Ibrahim Hakki Pasha, wrote: "Although Russia may be in a weakened state today, it is always an awesome enemy and it is probable that in a short time it will recover its former might and power.
On 22 December 1917, the first meeting between Ottomans and the Bolsheviks, the temporary head Zeki Pasha, until Talat Pasha's arrival, requested of Lev Kamenev to put an end to atrocities being committed on Russian-occupied territory by Armenian partisans. Kamenev agreed and added "an international commission should be established to oversee the return of refugees (by own consent) and deportees (by forced relocation) to Eastern Anatolia. The battle of ideals, rhetoric, and material for the fate of Eastern Anatolia opened with this dialog .
The Treaty of Brest-Litovsk represented an enormous success for the empire.[according to whom?] Minister of Foreign Affairs Halil Bey announced the achievement of peace to the Chamber of Deputies. He cheered the deputies further with his prediction of the imminent signing of a third peace treaty (the first Ukraine, second Russia, and with Romania). Halil Bey thought the Entente to cease hostilities and bring a rapid end to the war. The creation of an independent Ukraine promised to cripple Russia, and the recovery of Kars, Ardahan and Batum gave the CUP a tangible prize. Nationalism emerged at the center of the diplomatic struggle between the Central Powers and the Bolsheviks.
Empire recognized that Russia’s Muslims, their co-religionists, are disorganized and dispersed to come out as an entity in the future battles of ideals, rhetoric, and material. Thus, the Ottomans mobilized the Caucasus Committee to make claims on behalf of the Muslims. The Caucasus Committee had declined Ottoman earnest requests to break from Russia and embrace independence. The Caucasian Christians was far ahead in this new world concept. Helping the Caucasian Muslims to be free, like their neighbors, would be the Ottomans’ challenge.
In the overall war effort, the CUP was convinced that empire's contribution was essential. Ottoman armies had tied down large numbers of Allied troops on various fronts, keeping them away from theatres in Europe where they would have been used against German and Austrian forces. Moreover, they claimed that their success at Gallipoli had been an important factor in bringing about the collapse of Russia, resulting in the revolution of April 1917. They had turned the war in favor of Germany and her allies. Hopes were initially high for the Ottomans that their losses in the Middle East might be compensated for by successes in Causes Campaign. Enver Pasha maintained an optimistic stance, hid information that made the Ottoman position appear weak, and led most of the Ottoman elite believe that the war was still winnable.
Diplomacy with new states, 1918
Ottoman policy toward the Caucasus evolved according to the changing demands of the diplomatic and geopolitical environment. What was the Ottoman premise in involving with the Azerbaijan and the North Caucasus? The Empire’s leaders, in the parliament discussions throughout 1917, understood that Russia’s collapse presented a historic window of opportunity to redraw the map of the Caucasus. They were convinced, however, that soon enough Russia would recover and reemerge as the dominant power in the region and shut that window.
The principle of "self-determination" became the criterion, or at least in part, to give them a chance to stand on their feet. The Bolsheviks did not regard national separatism in this region as a lasting force. Their expectation was whole region come under a "voluntary and honest union" [b] and this union bearing no resemblance to Lenin’s famous description of Russia as a "prison house of peoples." Lenin's arrival to Russia was formally welcomed by Nikolay Chkheidze, the Menshevik Chairman of the Petrograd Soviet.
Ottoman's did not see a chance of these new states to stand against new Russia. These new Muslim states needed support to be emerged as viable independent states. In order to consolidate a buffer zone with Russia (both for the Empire and these new states), however, Ottomans needed to expel the Bolsheviks from Azerbaijan and the North Caucasus before the end of war. Based on 1917 negotiations, Enver concluded that Empire should not to expect much military assistance from the Muslims of the Caucasus as they were the one in need. Enver also knew the importance of Kars—Julfa railroad and the adjacent areas for this support. Goal was set forward beginning from 1918 to end of the war.
The Empire duly recognized the Transcaucasian Democratic Federative Republic in February 1918. This preference to remain part of Russia led Caucasusian politics to the Trebizond Peace Conference to base their diplomacy on the incoherent assertion that they were an integral part of Russia but yet not bound The representatives were Rauf Bey for the Empire, and Akaki Chkhenkeli from the Transcaucasian delegation.
On 11 May, a new peace conference opened at Batum. The Treaty of Batum was signed on 4 June 1918, in Batum between the Ottoman Empire and three Trans-Caucasus states: First Republic of Armenia, Azerbaijan Democratic Republic and Democratic Republic of Georgia.
The goal was to assist Azerbaijan Democratic Republic at Battle of Baku, then turn north to assist the embattled Mountainous Republic of the Northern Caucasus and then sweep southward to encircle the British in Mesopotamia and retake Baghdad. The British in Mesopotamia already moving north, with forty vans (claimed to loaded with gold and silver for buying mercenary) accompanied with only a brigade, to establish a foothold. At the time Baku was under the control of the 26 Baku Commissars which were Bolshevik and Left Socialist Revolutionary (SR) members of the Baku Soviet Commune. The commune was established in the city of Baku. In this plan, they expected resistance from Bolshevik Russia and Britain, but also Germany, which opposed the extension of their influence into the Caucasus. Ottoman's goal to side with Muslims of Azerbaijan and MRNC managed to get Bolsheviks of Russia, Britain and Germany on the same side of a conflict box at this brief point in the history.
Winding down toward the armistice, 1918
Developments in Southeast Europe squashed the Ottoman government's hopes. In September 1918, the Allied forces under the command of Louis Franchet d'Espèrey mounted a sudden offensive at the Macedonian Front, which proved quite successful. Bulgaria was forced to sue for peace in the Armistice of Salonica. This development undermined both the German and Ottoman cause simultaneously - the Germans had no troops to spare to defend Austria-Hungary from the newly formed vulnerability in Southeast Europe after the losses it had suffered in France, and the Ottomans suddenly faced having to defend Istanbul against an overland European siege without help from the Bulgarians.
Grand Vizier Talaat Pasha visited both Berlin, and Sofia, in September 1918, and came away with the understanding that the war was no longer winnable. With Germany likely seeking a separate peace, the Ottomans would be forced to as well. Grand Vizier Talaat convinced the other members of the ruling party that they must resign, as the Allies would impose far harsher terms if they thought the people who started the war were still in power. He also sought out the United States to see if he could surrender to them and gain the benefits of the Fourteen Points despite the Ottoman Empire and the United States not being at war; however, the Americans never responded, as they were waiting on British advice as to how to respond which never came. On 13 October, Talaat and the rest of his ministry resigned. Ahmed Izzet Pasha replaced Talaat as Grand Vizier.
Two days after taking office, Ahmed Izzet Pasha sent the captured British General Charles Vere Ferrers Townshend to the Allies to seek terms on an armistice. The British Cabinet were eager to negotiate a deal. British government interpreted that not only should Britain conduct the negotiations, but should conduct them alone. There may be a desire to cut the French out of territorial "spoils" promised to them in the Sykes-Picot agreement. Talaat (before resigning) had sent an emissary to the French as well, but that emissary had been slower to respond back. The British cabinet empowered Admiral Calthorpe to conduct the negotiations, and to explicitly exclude the French from them. The negotiations began on Sunday, 27 October on the HMS Agamemnon, a British battleship. The British refused to admit French Vice-Admiral Jean Amet, the senior French naval officer in the area, despite his desire to join; the Ottoman delegation, headed by Minister of Marine Affairs Rauf Bey.
Unknown to both sides, both sides were actually quite eager to sign a deal and willing to give up their objectives to do so. The British delegation had been given a list of 24 demands, but were told to concede on any of them except allowing the occupation of the forts on the Dardanelles as well as free passage through the Bosphorus; the British desired access to the Black Sea for the Rumanian front. Prime Minister David Lloyd George also desired to make a deal quickly before the United States could step in; according to the diary of Maurice Hankey:
[Lloyd George] was also very contemptuous of President Wilson and anxious to arrange the division of Empire between France, Italy, and G.B. before speaking to America. He also thought it would attract less attention to our enormous gains during the war if we swallowed our share of Empire now, and the German colonies later.
The Ottomans, for their part, believed the war to be lost and would have accepted almost any demands placed on them. As a result, the initial draft prepared by the British was accepted largely unchanged; the Ottomans did not know they could have pushed back on most of the clauses, and the British did not know they could have demanded even more. The Ottomans ceded the rights to the Allies to occupy "in case of disorder" any Ottoman territory, a vague and broad clause. The French were displeased with the precedent; French Premier Clemenceau disliked the British making unilateral decisions in so important a matter. Lloyd George countered that the French had concluded a similar armistice on short notice in the Armistice of Salonica which had been negotiated by French General d'Esperey, and that Great Britain (and Czarist Russia) had committed the vast majority of troops to the campaign against the Ottomans. The French agreed to accept the matter as closed.
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.