On 7 July 1949 , he became part of the United States Senate after Robert F. Wagner left the Senate . Dulles was appointed by Dewey to the United States Senate as a Republican from New York on July 7 , 1949 , to fill the vacancy caused by the resignation of Democrat Robert F. Wagner .