The UK and France declared war on Germany , marking the beginning of World War II .
In World War I , Germany joined Austria-Hungary , and again declared war on France .