The Danish Emergency Management Agency (DEMA) is a Danish governmental agency under the Ministry of Societal Resilience and Contingency. Its principal task is to manage an operational part who work out of six Emergency Management Centres, and administrative and legalizing part, who supervises the national and municipal rescue preparedness and advises the authorities on matters of preparedness. DEMA works in closely structured co-operation with the EU, UN and several neighbouring countries.