Input (grade 5): In 1790 he was elected United States Senator.
Output (grade 4): He was elected to the United States Senate in 1790.