From nationalism to revolutionary Islam