East Germany–Yugoslavia relations are historical foreign and bilateral relations between German Democratic Republic and Socialist Federal Republic of Yugoslavia, both of which are now former states. Yugoslavia recognized East Germany on 15 October 1957. Decision to recognize East Germany pushed West Germany to apply the Hallstein Doctrine for the first time in history, limiting relations almost exclusively to the economics field for eleven years (until 1968) until the initiation of the Ostpolitik. At the time, Yugoslav citizens were one of the largest groups of Gastarbeiters. Significantly smaller Yugoslav community lived in East Berlin, mostly as diplomatic and economic cooperation representatives. Yugoslavia recognized East Germany as a part of its efforts to improve relations with the Soviet Union after the 1948 Tito–Stalin split. At the time 1955 Belgrade declaration was signed and Yugoslavia verbally supported 1956 Soviet Intervention in Hungary. This support was diametrically opposite to future Belgrade's strong opposition to the 1968 Warsaw Pact invasion of Czechoslovakia which led to second rapprochement between Yugoslavia and the Western Bloc.