 On 15 September San Sebastián, home to a divided Republican force of anarchists and Basque nationalists, was taken by Nationalist soldiers.The Republic proved ineffective militarily, relying on disorganised revolutionary militias.The Republican government under Giral resigned on 4 September, unable to cope with the situation, and was replaced by a mostly Socialist organisation under Francisco Largo Caballero.