On January 23, 1942, Miller was chosen by the Luzerne County Republican Committee as their nominee to fill the vacancy in the Seventy-seventh Congress caused by the resignation of United States Representative J. Harold Flannery.[1] Miller's Democratic opponent was Daniel J. Flood, and in the May 1942 special election, Miller prevailed, serving in the remainder of Flannery's term. Miller was reelected to the Seventy-eighth Congress, but was an unsuccessful candidate for reelection in 1944.