Late in the evening, Shays claimed a 2 percent, 4,000-vote margin over Diane Farrell, Greenwich Time reported. Farrell refused to concede.
All three of Connecticut's Republican congressional representatives appeared to be vulnerable going into the election. Shays, a moderate, lost the endorsement of important newspapers -- such as The New York Times, which argued that this year electing Democrats to Congress took priority over almost everything else.
In the 5th District, Democrat Chris Murphy beat Johnson, who has served longer in Congress than anyone else in Connecticut history.
Notable deaths of 2014 [PHOTOS]