Is colonialism a modernist phenomenon? or it existed before modernism itself as well.

I want to know whether colonialism is a modernist phenomenon or if it existed before modernism itself, and do we need to change to make the definition of colonialism more holistic, keeping in line with pre-modern conquest and imperialism?