Described as the great "dhalang" ("puppet master"), President Sukarno's position came to depend on balancing the opposing and increasingly hostile forces of the army and the PKI. His anti-imperial ideology saw Indonesia increasingly dependent on the Soviet Union and China. By 1965, at the height of the Cold War, the PKI penetrated all levels of government extensively. With the support of Sukarno and the air force, the party gained increasing influence at the expense of the army, thus ensuring the army's enmity. By late 1965, the army was divided between a left-wing faction allied with the PKI and a right-wing faction that was being courted by the United States.