Conversation so far:
how did the ottoman empire aid the central powers
A secret treaty was concluded between the Ottoman Empire and the German Empire. The Ottoman Empire was to enter the war on the side of the Central Powers.
Which war was entered into by the Ottoman Empire to support the Central Powers?
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.

Question: Why did the empire agree to the alliance?
Self-contained rewrite: Why did the Ottoman Empire agree to the alliance with Germany in 1914?