In 1905 Kaiser Wilhelm II visited the Moroccan port of Tangier and denounced French influence in Morocco. The move was probably designed to test the strength of the Anglo-French entente. The visit provoked an international crisis, which was resolved in France's favour at the Algeciras Conference, 1906.