Wasn't Nixon a Senator?
He was a sitting Vice President at the time he first ran in 1960. He was a senator when Eisenhower picked him to run for vice president.
Not when he was elected. LBJ had been a Senator also.