It [terrorism] happened because intelligence, leadership and police failures made it possible.