How did early contact with China affect Japan

A. The Japanese government became a model for China.
B. Japan became a Chinese territory.
C. The original inhabitants of Japan migrated to China.
D. The Japanese adapted the Chinese writing system.

D. The Japanese adapted the Chinese writing system.