What is the real meaning about the sentence below?
China grew to prosperity in part by embracing market forces.
A. The part of the reason China could grow to prosperity is that China is embracing market forces.
B. By embracing market forces, China could grow to in part of prosperity.
I'm confused about the two explanations above, because of my limited English skill. Could you give a right answer to it?