Why did the United States support South Korea after World War II?

South Korea had a democratic government.
South Korea had military bases for attacking China.
South Korea was an important Asian trading partner.
South Korea was close to US military forces in Japan.