 From June 1916 to July 1917, Zagórski served as commander of the 3rd Infantry Regiment of the Polish Legions.The Oath Crisis took place during this time period, where Zagórski pledged his allegiance to the Central Powers, in contrast to the vast majority of his soldiers who did not.He imprisoned several of his soldiers and ordered for them not to be fed.