The diplomatic alienation of France orchestrated by Germany prior to World War I caused further resentment in France. Nevertheless, the leaders of France recognized Germany's military advantage, as Germany had nearly twice the population and a better equipped army. At the same time, the episodes of the Tangier Crisis in 1905 and the Agadir Crisis in 1911 had given France an indication that war with Germany could come if Germany continued to oppose French colonial expansionism.