The conversation between human and AI assistant.
Why was China never ruled by British or any other colonial powers?
Was there ever any attempt by a foreign power to colonize China?
Yes, there were several attempts, including the Opium Wars in the 1800s, where Britain forced China to open its ports for trade and establish extra-territoriality for foreigners.