In the years leading up to World War II, both countries followed a similar diplomatic path of appeasement of Germany. As Nazi intentions became clear, France pushed for a harder line but the British demurred, believing diplomacy could solve the disputes. The result was the Munich Agreement of 1938 that gave Germany control of parts of Czechoslovakia settled by Germans. In early 1939 Germany took over all of Czechoslovakia and began threatening Poland. Appeasement had failed, and both Britain and France raced to catch up with Germany in weaponry.