<P> The Ottoman--German Alliance was an alliance between the German Empire and the Ottoman Empire that was ratified on August 2, 1914, shortly following the outbreak of World War I . The alliance was created as part of a joint - cooperative effort that would strengthen and modernize the failing Ottoman military, as well as provide Germany safe passage into neighboring British colonies . </P> <P> On the eve of the First World War, the Ottoman Empire was in ruinous shape . As a result of successive wars fought in this period, territories were lost, the economy was in shambles and people were demoralized and tired . What the Empire needed was time to recover and to carry out reforms; however, there was no time, because the world was sliding into war and the Ottoman Empire was highly unlikely to manage to remain outside the coming conflict . Since staying neutral and focusing on recovery did not appear to be possible, the Empire had to ally with one or the other camp, because, after the Italo - Turkish War and Balkan Wars, it was completely out of resources . There were not adequate quantities of weaponry and machinery left; and neither did the Empire have the financial means to purchase new ones . The only option for the Sublime Porte was to establish an alliance with a European power; and at first it did not really matter which one that would be . As Talat Paşa, the Minister of Interior, wrote in his memoirs: "Turkey needed to join one of the country groups so that it could organize its domestic administration, strengthen and maintain its commerce and industry, expand its railroads, in short to survive and to preserve its existence ." </P>

What side did the ottoman empire join in ww1