Which Asian country was able to resist control by the Europeans? (