Nationalism played a crucial role in political revolutions by sparking demands for self-determination among ethnic minorities in large empires. This led to revolts and rebellions in empires like the Ottoman Empire and Habsburg Empire, as well as in China and India. These movements ultimately sought to establish independent states based on ethnic identity.