 Relations continued with the successor Kingdom of Yugoslavia.The Portuguese recognized the government in exile of this state after the German occupation of 1941.Relations with the Socialist Federal Republic of Yugoslavia, which took power in 1945 after World War II, were only established in 1974 after the Portuguese Carnation Revolution.