The writers of "The West Wing" were using a helluva magic eight ball! The last two seasons of the show have some strange coincidences with the 2008 Presidential race.
SlateV.com created a video comparing the similarities between Barack Obama and Jimmy Smits' character, Matt Santos. A writer for the show, Eli Attie, admits Smits character was directly shaped by Obama. The writer even met with one of Obama's political consultants, who was working on his campaign for Senate at the time.
In the show, a Congressman of color runs for the Democratic nomination and the primary race is so close it leads to a brokered convention. Smits opponent is better-known, funded and experienced. Freaky!
P.S. -- Santos won the nomination and went on to win the presidential election.