Although the USSR and Communist China were close allies for a while since they were both socialist, the Sino-Soviet Split occurred, ending relations between the two states. For the US, China used to be a partial ally, however since the cold war, relations have been souring, up to this date. China and the US competed for control over the Pacific.