The Rise and Fall of Terrorist Organizations