The campaign was initially conceived by General Emilio Mola as an advance to Irún, to cut the northern provinces off from France, and to link up with the Nationalist garrison in San Sebastián that was to have seized that city.
On August 26, Beorlegi began the assault on Irún.