The Islamic State's Strategy Was Years in the Making