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.