I think that the best answer is the second one:Â
They had pledged to fight with other countries,Â
although in a way, the first is also appropriate, as Europe was witnessing a lot of internal tensions at the time. But the main and more direct reason was that they had pledged to fight with others. Â