They were all members of the Anti-Comintern Pact, initially Japan and Germany (in 1936) later joined by Italy in 1937. It was formed to oppose the Comintern (Communist International), specifically the Soviet Union and the spread of Communism – it formed the basis of the later Axis or Tripartite pact.