The Algeciras Conference of 1906 took place in Algeciras, Spain, and lasted from 16 January to 7 April. The purpose of the conference was to find a solution to the First Moroccan Crisis of 1905 between France and Germany, which arose as Germany responded to France's effort to establish a protectorate over the independent state of Morocco. Germany was not trying to stop French expansion – its goal was to enhance its own international prestige, and it failed badly. The result was a much closer relationship between France and Britain, thus strengthening the Entente Cordiale, with both London and Paris increasingly suspicious and distrustful of Berlin. An even more momentous consequence was the heightened sense of frustration and readiness for war in Germany. It spread beyond the political elite to much of the press and most of the political parties except for the Liberals and Social Democrats on the left. The Pan-German element grew in strength and denounced their government's retreat as treason, stepping up chauvinistic support for war.