PHOENIX — Ron Barber, who almost lost his life in the Arizona shooting rampage that wounded former Rep. Gabrielle Giffords, won a special election to succeed her, giving Democrats a psychological boost after last week's failed effort to recall Wisconsin's Republican governor.

Appearing with Giffords at a Tucson hotel after his victory Tuesday night, Barber told supporters, "Life takes unexpected turns and here we are, thanks to you." Giffords hugged him and kissed his forehead.

Barber defeated Republican Jesse Kelly, who narrowly lost to Giffords in 2010 in a competitive district that Republicans have won in the last two presidential elections. Giffords has made few public appearances since resigning in January to focus on her recovery, but she dashed back to Tucson during the campaign's final days to help her former district director.

Democratic officials were quick to argue that the victory sets the stage for them to win back control of the House.

"This campaign previewed the message fight that will play out across the country in November: Democrats committed to protecting the middle class, Social Security and Medicare versus misleading Republican attacks on Obamacare and national Democrats," said Rep. Steve Israel, D-N.Y., chairman of the Democratic Congressional Campaign Committee.

But Rep. Pete Sessions, R-Texas, the chairman of the National Republican Congressional Committee, said special elections are unique and the Arizona race was particularly so because of what had happened to Giffords. He predicted that Barber would not fare as well in the fall with President Barack Obama leading the ticket.

"No one wanted this election to happen or to see Gabrielle Giffords step down from Congress, but Jesse ran a campaign focused on pro-growth policies that will lead to less government and a strong and vibrant economy," Sessions said.

In his concession speech, Kelly said: "We executed the plan we wanted. The voters of southern Arizona did something different."

Republicans had sought to make the contest a referendum on Obama and his handling of the economy. Democrats played to the senior vote by contending that Kelly would not protect Medicare and Social Security.

With 100 percent of precincts reporting, Barber won about 52 percent of the vote while Kelly had 46 percent.

Both candidates have promised to run for a full term in the fall, setting up a possible November rematch in a redrawn district that is friendlier to Democrats. Republican voters outnumber Democratic voters by about 26,000 under the current map. That edge will narrow to about 2,000 under redistricting.

Elsewhere Tuesday, Virginia, North Dakota, Nevada, Maine, Arkansas and South Carolina held primary elections.

In Virginia, George Allen, a former governor and senator, brushed aside three rivals in the Republican Senate primary. Allen's victory set up a November clash with another former Virginia governor, Democrat Tim Kaine, in a campaign closely tied to the presidential race in a state both parties consider vital for victory.

In North Dakota, Rep. Rick Berg defeated businessman Duane Sand in the state's Republican Senate primary. Berg faces Democrat Heidi Heitkamp in the November race to replace retiring Sen. Kent Conrad. The election is expected to play a critical role in determining which party controls the Senate.

Voters also decided to let the University of North Dakota scrap its controversial nickname, the Fighting Sioux. The NCAA had deemed the name hostile and abusive, and placed the university under postseason sanctions. The state's Board of Education is expected to retire the moniker and American Indian head logo.

In Nevada, Republican Sen. Dean Heller and Democratic Rep. Shelley Berkley easily defeated a slate of political unknowns in their respective primaries. Their fall race will be one of the most competitive in the country.

In Maine, state Sen. Cynthia Dill won the Democratic primary in the race to succeed Republican Sen. Olympia Snowe. Maine Secretary of State Charles Summers won the GOP nomination.

The front-runner, former two-term Gov. Angus King, wasn't on the ballot because he's running as an independent.

No statewide races were part of the Arkansas and South Carolina primaries.

Of all the races Tuesday, the Arizona House race was the most closely watched, partly because of Giffords' absorbing story and partly because holding onto the seat is important for Democrats if they want to regain control of the House.

The party needs big gains in November to grab the majority from Republicans, who now hold a 240-192 advantage with three vacancies, including Giffords' seat.

Republicans, riding high after a decisive victory in Wisconsin's gubernatorial recall election last week, set their sights on Arizona. A victory would have given party leaders a chance to claim momentum five months before November and fine-tune their plan to link Democratic candidates to Obama, the incumbent at the top of the ticket.

Outside groups spent more than $2 million on the race. Barber, 66, had a sizable fundraising lead in late May, but spending from conservative groups helped reduce the Democratic financial edge.

The Arizona 8th is a rare district that is competitive practically every election. Giffords defeated Kelly by about 4,000 votes in 2010, when the election focused on immigration and when tea partyers rallied to the tough-talking former Marine. Now, the economy and jobs are voters' top concerns.

Democratic officials were thrilled that Barber won a district that President George W. Bush carried with 54 percent of the vote in 2004 and that John McCain carried with 53 percent of the vote when he ran against Obama.

Kelly, 30, spent the campaign arguing that Barber and Obama are out of touch with people in the district. He called for lower taxes and more energy production as ways to improve the economy. And he said he would roll back federal regulations and environmental protections in an effort to boost oil and gas drilling.

___

Freking reported from Washington. Associated Press writers Carson Walker contributed from Tucson and Dave Kolpack contributed from Fargo.

Also on HuffPost:

Loading Slideshow...
  • Rep. Sean Duffy (R-Wis.)

    Duffy, a former contestant on MTV's "Real World" who entered Congress last year, drew criticism when he told constituents that he struggles on his $174,000 a year salary. "I drive a used minivan," <a href="http://thinkprogress.org/politics/2011/03/29/154368/rep-sean-duffy-complains-about-his-salary/" target="_hplink">he said</a> during a town hall meeting last March. "If you think I'm living high off the hog, I've got one paycheck. So I struggle to meet my bills right now."

  • Rep. Steve King (R-Iowa)

    After the Department of Health and Human Services announced new guideliens that would require health insurers to do away with co-pays for birth control, King took to the House floor in August to express his concerns with the policy. "Preventing babies from being born is not medicine," <a href="http://www.huffingtonpost.com/2011/08/02/steve-king-free-birth-control_n_916519.html" target="_hplink">he said.</a> "That's not constructive to our culture and our civilization. If we let our birth rate get down below replacement rate we're a dying civilization." King's comments weren't his first to raise eyebrows. The Iowa congressman has also described same-sex marriage as a <a href="http://www.huffingtonpost.com/2009/09/24/steve-king-gay-marriage-i_n_298372.html" target="_hplink">"purely socialist concept,"</a> and <a href="http://www.huffingtonpost.com/2010/06/23/steve-king-the-year-in-cr_n_622666.html?ref=steve-king#s104351&title=King_Accuses_Obama" target="_hplink">called </a>President Barack Obama a racist, claiming that he "favors the black person." King was also the <a href="http://www.huffingtonpost.com/2009/07/08/rep-steve-king-lone-vote_n_227866.html" target="_hplink">only congressman</a> to not acknowledge the role slaves played in constructing the U.S. Capitol.

  • Rep. Allen West (R-Fla.)

    West has quickly become one of the most outspoken freshmen in Congress, making a number of offensive comments about his colleagues. In his first year of office, West <a href="http://www.huffingtonpost.com/2011/07/19/allen-west-debbie-wasserman-schultz_n_904047.html" target="_hplink">incited</a> a feud with fellow Floridian and DNC Chair Rep. Debbie Wasserman Schultz, <a href="http://www.huffingtonpost.com/2011/08/18/allen-west-harriet-tubman_n_930052.html" target="_hplink">called</a> Rep. Maxine Waters (D-Calif.) a "plantation overseer," and <a href="http://www.huffingtonpost.com/2011/12/16/allen-west-goebbels-democrats-nazi-propaganda_n_1154476.html" target="_hplink">compared</a> Democrats to Nazi propagandist Joseph Goebbels. West began 2012 on a similar foot. During a dinner with the Palm Beach County GOP, <a href="http://www.huffingtonpost.com/2012/01/28/allen-west-liberals-get-out-florida-primary-2012_n_1239247.html" target="_hplink">he said</a> that liberals like President Obama, Sen. Harry Reid (D-Nev.) and House Minority Leader Nancy Pelosi (D-Calif.) should "get the hell out of the United States of America."

  • Rep. Joe Walsh (R-Ill.)

    Last fall, <a href="http://www.huffingtonpost.com/2011/11/08/joe-walsh-screams-at-cons_n_1083014.html?1321280921" target="_hplink">a video</a> of Walsh screaming at some of his constituents went viral. After one attendee at a "Cup of Joe with Joe Walsh" event in Gurnee, Illinois asked Walsh about the role of bank regulation in the financial collapse, Walsh launched into a rant. "Don't blame the banks ... that pisses me off," he said. "It's not the private marketplace that created this mess. What created [this] mess was your government." Walsh has also caught heat for his <a href="http://www.suntimes.com/news/metro/7656284-418/judge-scolds-rep-joe-walsh-orders-him-to-prove-he-doesnt-owe-back-child-support.html" target="_hplink">refusal to pay child support</a> to his former wife. Walsh's ex-wife, Laura, has said that the congressman now owes over $100,000.

  • Rep. Frank Guinta (R-N.H.)

    Guinta, formerly the mayor of Manchester, was included on the Citizens for Responsibility and Ethics in Washington's <a href="http://www.crewsmostcorrupt.org/mostcorrupt/entry/Frank-Guinta-report" target="_hplink">list</a> of most corrupt members of Congress, citing an <a href="http://www.huffingtonpost.com/2010/08/13/gop-candidate-frank-guint_n_681246.html" target="_hplink">unreported personal bank account</a> with hundreds of thousands of dollars in assets and loans he made to his own campaign.

  • Rep. Chip Cravaack (R-Minn.)

    Cravaack came under fire last summer for hosting <a href="http://www.politico.com/news/stories/0811/61454.html" target="_hplink">private events</a> in Duluth, Minnesota -- his district's most populous city -- including a $10-per-head meeting, but no public town halls. The congressman had previously campaigned on the <a href="http://www.startribune.com/templates/Print_This_Story?sid=106630083" target="_hplink">platform</a> that members of Congress should be more in touch with their constituents. Cravaack eventually folded under pressure from protesters and <a href="http://www.huffingtonpost.com/2011/08/23/chip-cravaack-town-hall-meeting_n_934411.html" target="_hplink">scheduled</a> a public town hall. The congressman was also criticized for moving his family to <a href="http://www.politico.com/blogs/davidcatanese/0711/Cravaack_family_moves_to_New_Hampshire_.html" target="_hplink">New Hampshire</a>, although he had made his opponent former Rep. Jim Oberstar's residency in his district an issue in his 2010 congressional campaign.

  • Rep. Mike Fitzpatrick (R-Penn.)

    Fitzpatrick has drawn the ire of many left-leaning activists for his steadfast alignment with the Tea Party-centered policies pushed with the help of freshman representatives ushered in by 2010's wave elections. His tenure in Congress also began with controversy, when it was <a href="http://www.huffingtonpost.com/2011/01/06/two-house-republicans-vot_n_805423.html" target="_hplink">reported</a> that he'd missed his own swearing in ceremony because he was at a fundraiser.

  • Rep. Dan Lungren (R-Calif.)

    Lungren has established himself as a key target of Democrats because of his staunch anti-abortion views. His votes against women's choice and health have led CREDO to label him "California's Rick Santorum."