 Murphy was elected as a Democrat to the 78th and 79th United States Congresses and served from January 3, 1943, until his resignation on July 17, 1946.Murphy served on the Joint House-Senate Committee to investigate the attack on Pearl Harbor in 1945.That led to a close friendship with Vice President Alben W. Barkley, who headed the Senate side of the investigation.