He served as counsel for many years for several large railroad corporations and was elected as a Republican to the Fifty-fourth Congress (March 4, 1895 – March 3, 1897). Miller declined to be a candidate for renomination in 1896.
For many years, he represented several prominent railroad corporations as their legal counsel and was elected a Republican to the Fifty-fourth Congress from 1895 to 1897. He chose not to run for reelection in 1896.