Jeri Ryan's previous husband was Senator Ryan, who had to vacate his seat because of a sex scandal during their divoce. Jeri Ryan, of course, was divorcing him because SHE was cheating on him with the producer of Voyager.
The appointee of the senate seat? Barack Obama.
(Before I get hammered on this one, Obama was very briefly an appointee - the Republicans had a rediculously bad run-off race and the seat was largely just handed to him.. but, yes, Star Trek Voyager more or less gave us President Obama.)
Jack Ryan was the Republican nominee for the Senate seat to replace Sen. Peter Fitzgerald (R-Ill), who chose not to run for re-election.
Barack Obama was the Democratic nominee for the Senate seat.
Ryan never held office. He withdrew from the race when the Chicago Tribune and a local news station sued to have the custody records unsealed, and a California judge complied. Ryan had promised the state Republican party that there was nothing unseemly in the records. He lied. In an interview on Nightline, he said that the worst those records showed was that he was an "insensitive husband."
The Republicans tried to find someone to replace him in the race. They finally settled on Allan Keyes.
Obama beat him handily.
Obama was never appointed to the Senate and Ryan never held the seat.