J.F. Kennedy believed strongly in containing the spread of communism. He supported South Vietnam's President Diem and continued Dwight Eisenhower's policy of backing the South Vietnamese government against communist North Vietnam. Kennedy increased funding and the number of U.S. military advisors in South Vietnam to train the South Vietnamese Army to fight communism, though this broke agreements made in 1954. Kennedy viewed communism in Vietnam as a threat to broader Southeast Asian and global security.