The 26-year-old is the first openly gay man elected to the Montana legislature; he previously helped pass the state's first LGBT nondiscrimination ordinance in Missoula.
The actor revealed that he and the CNN anchorman had a brief relationship when Rannells was 25, and that was the inspiration for his Girls character's failed romance.