Which of the following statements about China before the 1800s is true?
A It had a closed-door policy.
B. The sale of opium was legal.
C. Japan ruled China and Korea.
D. Sun Yat-sen was elected president.