After the defeat of Nazi Germany, the country was divided into East and West Germany in the opening acts of the Cold War, and each state retained a sense of German identity and held reunification as a goal, albeit in different contexts. The creation of the European Union was in part an effort to harness German identity to a European identity. West Germany underwent its economic miracle following the war, which led to the creation of a guest worker program; many of these workers ended up settling in Germany which has led to tensions around questions of national and cultural identity, especially with regard to Turks who settled in Germany.