Many non-Socialist European governments moved to link their economies, laying the foundation for what would become the European Union. This meant a huge increase in shared infrastructure and cross-border trade. Whilst these European states rapidly improved their economies, by the 1980s, the economy of the COMECON was struggling, mainly due to the massive cost of the Cold War.