Max Fisher captions:
There are only four countries that escaped European colonialism completely. Japan and Korea successfully staved off European domination, in part due to their strength and diplomacy, their isolationist policies, and perhaps their distance. Thailand was spared when the British and French Empires decided to let it remained independent as a buffer between British-controlled Burma and French Indochina. Japan, however, colonized both Korea and Thailand itself during its early-20th-century imperial period.
Then there is Liberia, which European powers spared because the United States backed the Liberian state, which was established in the early 1800s by freed American slaves who had decided to move to Africa. The Liberian project was fraught — the Americans who moved there ruled as a privileged minority, and the US and European powers shipped former slaves there rather than actually account for their enslavement — but it escaped European domination.