During the war, John Benjamin Anderson was sent, with the 6th Field Artillery Regiment, part of the newly created 1st Infantry Division, to the Western Front, where he served as a regimental adjutant in the Somme sector, scene of much bitter fighting the year before, in France in October and November 1917. In the spring of 1918,John Benjamin Anderson served with the British Expeditionary Force (BEF) at Ypres, Belgium and subsequently he was appointed adjutant of the 1st Artillery Brigade. Later, John Benjamin Anderson was transferred back to his 6th Artillery Regiment, where John served as battery commander and commanded a battalion of the 6th Field Artillery Regiment during the Battle of Cantigny. John served in this capacity for the remainder of the war, which came to an end with the signing of the Armistice with Germany on November 11, 1918.