Opium-smoking continued openly in Hong Kong until 1946; in mainland China the Communist government abolished it when they came to power in 1949.
( ( ( ( Opium-smoking ( ( ( continued openly ) ( in ( Hong Kong ) ) ) ( until 1946 ) ) ) ; ) ( ( in ( mainland China ) ) ( ( the ( Communist government ) ) ( ( abolished it ) ( when ( they ( ( came ( to power ) ) ( in 1949 ) ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (NN Opium-smoking)) (VP (VBD continued) (ADVP (RB openly)) (PP (IN in) (NP (NNP Hong) (NNP Kong))) (PP (IN until) (NP (CD 1946))))) (: ;) (S (PP (IN in) (NP (JJ mainland) (NNP China))) (NP (DT the) (JJ Communist) (NN government)) (VP (VBD abolished) (NP (PRP it)) (SBAR (WHADVP (WRB when)) (S (NP (PRP they)) (VP (VBD came) (PP (TO to) (NP (NN power))) (PP (IN in) (NP (CD 1949)))))))) (. .)))
The Chinese communist government abolished opium smoking due to its health effects.
( ( The ( Chinese ( communist government ) ) ) ( ( abolished ( ( opium smoking ) ( due ( to ( its ( health effects ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ Chinese) (JJ communist) (NN government)) (VP (VBD abolished) (S (NP (NN opium) (NN smoking)) (ADJP (JJ due) (PP (TO to) (NP (PRP$ its) (NN health) (NNS effects)))))) (. .)))