A Republican offensive against Zaragoza was also a failure. Despite having land and aerial advantages, the Battle of Belchite, a place lacking any military interest, resulted in an advance of only and the loss of much equipment. Franco invaded Aragón and took the city of Santander in Cantabria in August. With the surrender of the Republican army in the Basque territory came the Santoña Agreement. Gijón finally fell in late October in the Asturias Offensive. Franco had effectively won in the north. At November's end, with Franco's troops closing in on Valencia, the government had to move again, this time to Barcelona.