By 1935 Moscow and Paris identified Nazi Germany as the main military, diplomatic, ideological and economic threat. Germany could probably defeat each one separately in a war, but would avoid a war a two-front war against both of them simultaneously. The solution, therefore, was a military alliance. It was pursued by Louis Barthou, the French foreign minister, but he was assassinated in October 1934 and his successor, Pierre Laval, was more inclined to Germany. However, after the declaration of German rearmament in March 1935 the French government forced the reluctant Laval to conclude a treaty. Written in 1935 it took effect in 1936. Both Paris and Moscow hoped other countries would join in and Czechoslovakia to sign treaties with both France and the Soviet Union. Prague wanted to use the USSR as a counterweight against the growing strength of Nazi Germany. Poland might make a good partner too, but it refused to join in. The military provisions were practically useless because of multiple conditions and the requirement that the United Kingdom and Fascist Italy approve any action. The effectiveness was undermined even further by the French government's insistent refusal to accept a military convention stipulating the way in which the two armies would coordinate actions in the event of war with Germany. The result was a symbolic pact of friendship and mutual assistance of little consequence other than raising the prestige of both parties.