After the declaration of war on Serbia Eliáš had to join the Austro-Hungarian Army and was sent with the Prague 28th Infantry Regiment to the Russian Front. After only a few days, Eliáš was taken prisoner on 28 August 1914 during the Galicia.