In 1842 he was elected to the United States House of Representatives, and he served one term, March 4, 1843 to March 3, 1845 (28th Congress) [REF].
In 1846 Murphy was again elected to the U.S. House, and he served one term, March 4, 1847 to March 3, 1849 (30th Congress) [REF].