Actually, let me add some context based on quick research. Hughes ran for elected office as a Democrat several times throughout the 30's, 40's and 50's, and was eventually nominated to the Federal bench by JFK in 1961.
Hughes was also on the three-judge panel that originally decided Roe v. Wade (on the state level), overturning Texas' law against abortion.