The process of gaining independence from colonial powers through diplomacy, negotiations, and sometimes armed conflict.