Task: Text Categorization
Input (English): He was first elected to the Senate in 1936, but resigned several years later to fight in World War II; in 1946, he made a comeback by unseating Senator David Walsh. He nominated Dwight Eisenhower for president in 1952 and became chairman of his campaign, but was unseated nonetheless by John F. Kennedy. He spent the bulk of the next ten years as UN ambassador and ambassador to South Vietnam, and was Richard Nixon's running-mate in 1960. FTP, name this Massachusetts politician, the grandson and namesake of another senator.
Output (English): History