Indian nationalism originated from colonial policies and the reaction to colonialism.