Austria-Hungary was Germany's main ally in World War I, forming the core of the Central Powers along with Germany. When Austria declared war on Serbia in 1914, Germany honored their alliance and joined the war. Italy initially remained neutral before joining the Allies, while Russia and France fought against Germany.