RALEIGH, N.C. (AP) — Six years ago, little-known North Carolina state legislator Kay Hagan upset Sen. Elizabeth Dole after Hagan and her Democratic allies drilled in voters' minds the idea that Dole was too closely aligned to an unpopular president. Initially repeating Hagan's own words, Republican challenger Thom Tillis told viewers in their first televised debate this month that Hagan voted with President Barack Obama 95 percent of the time. Polls show her with a slight edge over the North Carolina House speaker in one of a handful of closely watched races that will determine whether Democrats can retain control of the Senate in the last two years of Obama's presidency. The president "is not real popular in North Carolina and has the potential of making a vote for her less attractive than it might otherwise be," said Duke University political science professor David Rohde. Hagan has countered that percentages mean little compared to opposing the president when it mattered most to Tar Heel residents, such as on trade bills that hurt North Carolina workers and his administration's handling of veterans' medical care.