Seeking improved international relations, in 1934 the Soviet Union secured membership of the League of Nations, of which it had previously been excluded. Stalin initiated confidential communications with Hitler in October 1933, shortly after the latter came to power in Germany. Stalin admired Hitler, particularly his manoeuvres to remove rivals within the Nazi Party in the Night of the Long Knives. Stalin nevertheless recognised the threat posed by fascism and sought to establish better links with the liberal democracies of Western Europe; in May 1935, the Soviets signed a treaty of mutual assistance with France and Czechoslovakia. At the Communist International's 7th Congress, held in July–August 1935, the Soviet government encouraged Marxist-Leninists to unite with other leftists as part of a popular front against fascism. In turn, the anti-communist governments of Germany, Fascist Italy and Japan signed the Anti-Comintern Pact of 1936.