Following the outbreak of the First World War , it is estimated that almost 3.4 million men from Poland served in the Austro-Hungarian , German and Russian armies , with a further 300,000 drafted for forced labor by the German authorities .