for Spanish foreign policy. Other important role that the Ministry assumed during this period was managing entry into the European Community. During the short period of 1979-1981 the responsibilities on foreign affairs were share between the Foreign Ministry and the Ministry for Relations with the European Communities (which mainly focused on the negotiations for the entry) and after 1981 the second merged into the first Ministry as a Secretariat of State. In 1988 the Spanish Agency for International Development Cooperation (AECID) was created and in this sense in 2004 the Ministry was renamed «Ministry of Foreign Affairs and Cooperation» with the aim of highlighting the role of Spain as a country committed to supporting the most disadvantaged peoples through cooperation for development. In 2000 the headquarters were moved to a 50,455 square meters building in Madrid but because of environmental and conditioning problems led to the return to the Palace of Santa Cruz in 2004–5. In 2016 the Government approved the reform of the old headquarters of the Ministry and the move it is planned to early 2020. Currently, the employees of the department work on two buildings, the central headquarters at the Santa Cruz Palace and the Ágora Towers, two rented towers in the north of Madrid. The last change took place in 2018, becoming the «Ministry of Foreign Affairs, European Union and Cooperation», thus emphasizing the Europeanist vocation of Spain and the primary importance that Spanish foreign policy grants, through this Ministry, to the European Union. In January 2022, the ministry opened its new main headquarters in Plaza del Marqués de Salamanca. Structure The Ministry of Foreign Affairs, European Union and Cooperation is organised in the following superior bodies: The Secretariat of State for Foreign and Global Affairs. The Directorate-General for Foreign Policy and Security. The Directorate-General for the United Nations, International Organizations and Human Rights. The Directorate-General for the Maghreb, the Mediterranean and the Middle East. The Directorate-General for Africa. The Directorate-General for North America, Eastern Europe, Asia and Pacific. The Secretariat of State for the European Union. The General Secretariat for the European Union. The Directorate-General for Integration and Coordination of General Affairs of the European Union. The Directorate-General for the Coordination of the Internal Market and other Community Policies. The Directorate-General for Western, Central and Southeast Europe. The Secretariat of State for International Cooperation. The Directorate-General for Sustainable Development Policies. The Secretariat of State for