British policy in South Africa and German actions in the Far East contributed to dramatic policy shifts, which in the 1900s, aligned hitherto isolationist Britain first with Japan as an ally, and then with France and Russia in the looser Triple Entente. German efforts to break the Entente by challenging French hegemony in Morocco resulted in the Tangier Crisis of 1905 and the Agadir Crisis of 1911, adding to tension and anti-German sentiment in the years preceding World War I. In the Pacific, conflicts between Germany, the United States, and the United Kingdom contributed to the First and Second Samoan Civil War.