Soon after President Kennedy's death, Robert Kennedy resigned as Attorney General and, in , ran successfully for the United States Senate from New York. Kennedy waged an effective statewide campaign and, aided by President Lyndon Johnson's landslide, won the November election by , votes.