In case of what country's attack was the origins of the Central Powers?
Dual Alliance (1879) The Dual Alliance was a defensive alliance between Germany and Austria-Hungary, which was created by treaty on 7 October 1879 as part of Bismarck's system of alliances to prevent or limit war. The two powers promised each other support in case of attack by Russia. Also, each state promised benevolent neutrality to the other if one of them was attacked by another European power (generally taken to be France, even more so after the Franco-Russian Alliance of 1894). Germany’s Otto von Bismarck saw the alliance as a way to prevent the isolation of Germany and to preserve peace, as Russia would not wage war against both empires.
1913 in Italy The First Balkan War (October 1912 – May 1913) of the Balkan League (Bulgaria, Serbia, Greece and Montenegro) against the Ottoman Empire. As a result of the war, the allies captured and partitioned almost all remaining European territories of the Ottoman Empire. Ensuing events also led to the creation of an independent Albanian state. Despite its success, Bulgaria was dissatisfied over the division of the spoils in Macedonia, which provoked the start of the Second Balkan War (June–August 1913).  After the withdrawal of the Ottoman army from Libya after the Italo-Turkish War the Italians could easily extend their occupation of the country, seizing East Tripolitania, Ghadames, the Djebel and Fezzan with Murzuk during 1913.