The second war for independence and the upsurge of nationalism