Count Leopold von Berchtold, backed by its ally Germany, decided to confront Serbia militarily before it could incite a revolt; using the assassination as an excuse, they presented a list of ten demands called the July Ultimatum, expecting Serbia would never accept. When Serbia accepted nine of the ten demands but only partially accepted the remaining one, Austria–Hungary declared war. Franz Joseph I finally followed the urgent counsel of his top advisers. Over the course of July and August 1914, these events caused the start of World War I, as Russia mobilized in support of Serbia, setting off a series of counter-mobilizations. In support of his German ally, on Thursday, 6 August 1914, Emperor Franz Joseph signed the declaration of war on Russia. Italy initially remained neutral, although it had an alliance with Austria–Hungary. In 1915, it switched to the side of the Entente powers, hoping to gain territory from its former ally. Wartime foreign policy The Austro-Hungarian Empire played a relatively passive diplomatic role in the war, as it was increasingly dominated and controlled by Germany. The only goal was to punish Serbia and try to stop the ethnic breakup of the Empire, and it completely failed. Starting in late 1916 the new Emperor Karl removed the pro-German officials and opened peace overtures to the Allies, whereby the entire war could be ended by compromise, or perhaps Austria would make a separate peace from Germany. The main effort was vetoed by Italy, which had been promised large slices of Austria for joining the Allies in 1915. Austria was only willing to turn over the Trentino region but nothing more. Karl was seen as a defeatist, which weakened his standing at home and with both the Allies and Germany. Theaters of operations The Austro-Hungarian Empire conscripted 7.8 million soldiers during WWI. General von Hötzendorf was the Chief of the Austro-Hungarian General Staff. Franz Joseph I, who was much too old to command the army, appointed Archduke Friedrich von Österreich-Teschen as Supreme Army Commander (Armeeoberkommandant), but asked him to give Von Hötzendorf freedom to take any decisions. Von Hötzendorf remained in effective command of the military forces until Emperor Karl I took the supreme command himself in late 1916 and dismissed Conrad von Hötzendorf in 1917. Meanwhile, economic conditions on the homefront deteriorated rapidly. The Empire depended on agriculture, and agriculture depended on the heavy labor of millions of men who