The service was restructured in 2004, under pressure from the “war on terror”, created after the terror attacks on 11 September 2001. The restructuring resulted in the legal basis for the creation of an intelligence agency ("Loi du 15 juin 2004 portant organisation du Service de Renseignement de l’Etat") to deal with the following threats: