I think the answer is B. To keep peace on the continent.
European nations formed alliances in the late nineteenth and early twentieth centuries, to stable the balance of power, as well as to prevent wars in Europe that could challenge the political, and economic stability of European nations.