TUCSON, Ariz. (AP) -- Rep. Gabrielle Giffords of Arizona was shot in the head Saturday by a gunman who opened fire outside a grocery store during a meeting with voters, killing a federal judge and four others in a rampage that rattled the country and left politicians fearful for their safety. "It is a tragedy for Arizona, and a tragedy for our entire country," President Barack Obama declared.
Giffords was among at least 10 people wounded, and the hospital said her outlook was optimistic as she was responding to commands from doctors despite having a bullet go through her head. The death toll included a 9-year-old girl, a federal judge, and a staffer for the Democratic congresswoman.
The reaction to the shooting rippled across the country as Americans were aghast at the sight of such a violent attack on a sitting member of Congress. The shooting cast a pall over Capitol as politicians of all stripes denounced the shooting as a horrific and senseless act of violence. Capitol police asked members of Congress to be more vigilant about security in the wake of the shooting, and some politicians expressed hope that the killing spree serves as a wakeup call at a time when the political climate has become so emotionally charged.
Giffords, 40, is a three-term moderate Democrat who narrowly won re-election in November against a tea party candidate as conservatives across the country sought to throw her from office over her support of the health care law. Her office in Tucson was vandalized in the hours after the House passed the overhaul last March as anger over the law spread across the country.
Police say the shooter was in custody, and was identified by people familiar with the investigation as Jared Loughner, 22. Pima County Sheriff's officials said he used a 9 mm pistol to carry out the shooting spree. U.S. officials who provided his name to the AP spoke on condition of anonymity because they were not authorized to release it publicly.
His exact motivation was not clear, but a former classmate described Loughner as a pot-smoking loner who had rambling beliefs about the world. Federal law enforcement officials were poring over versions of a MySpace page that belonged to Jared Loughner and over a Youtube video published weeks ago under an account "Classitup10" and linked to him. The MySpace page, which was removed within minutes of the gunman being identified by officials, included a mysterious "Goodbye friends" message published hours before the shooting and exhorted his friends to "Please don't be mad at me."
In one of several Youtube videos, which featured text against a dark background, Loughner described inventing a new U.S. currency and complained about the illiteracy rate among people living in Giffords' congressional district in Arizona.
"I know who's listening: Government Officials, and the People," Loughner wrote. "Nearly all the people, who don't know this accurate information of a new currency, aren't aware of mind control and brainwash methods. If I have my civil rights, then this message wouldn't have happen (sic)."
U.S. District Judge John Roll was one of the dead. Giffords had worked with him in the past to line up funding to build a new courthouse in Yuma, and Obama hailed him for his nearly 40 years of service as a judge.
Giffords spokesman C.J. Karamargin said three Giffords staffers were shot in the attack. One died, and the other two are expected to survive. Gabe Zimmerman, a former social worker who served as Giffords' director of community outreach, died.
Giffords was first elected to Congress amid a wave of Democratic victories in the 2006 election, and has been mentioned as a possible Senate candidate in 2012 and a gubernatorial prospect in 2014.
Giffords is married to astronaut Mark E. Kelly, who has piloted space shuttles Endeavour and Discovery. The two met in China in 2003 while they were serving on a committee there, and were married in January 2007. Sen. Bill Nelson, chairman of the Senate Commerce Space and Science Subcommittee, said her husband is training to be the next commander of the space shuttle mission slated for April. His brother is currently serving aboard the International Space Station, Nelson said.
Giffords, known as "Gabby," tweeted shortly before the shooting, describing her "Congress on Your Corner" event: "My 1st Congress on Your Corner starts now. Please stop by to let me know what is on your mind or tweet me later."
"It's not surprising that today Gabby was doing what she always does, listening to the hopes and concerns of her neighbors," Obama said. "That is the essence of what our democracy is about."
Giffords has drawn the ire of the right in the last year, especially from politicians like Sarah Palin over her support of the health care bill. It's still not clear if the gunman had the health care debate in mind or was focused on his own unique set of political beliefs as witnessed in the Internet videos.
Law enforcement officials said members of Congress reported 42 cases of threats or violence in the first three months of 2010, nearly three times the 15 cases reported during the same period a year earlier. Nearly all dealt with the health care bill, and Giffords was among the targets.
Giffords' Tucson office was vandalized a few hours after the House voted to approve the health care law in March, with someone either kicking or shooting out a glass door and window. In an interview after the vandalism, Giffords referred to the animosity against her by conservatives. Palin listed Giffords' seat as one of the top "targets" in the midterm elections because of the lawmakers' support for the health care law.
"For example, we're on Sarah Palin's targeted list, but the thing is, that the way that she has it depicted has the crosshairs of a gun sight over our district. When people do that, they have to realize that there are consequences to that action," Giffords said in an interview with MSNBC.
In the hours after the shooting, Palin issued a statement in which she expressed her "sincere condolences" to the family of Giffords and the other victims.
The shooting occurred at a shopping center called La Toscana Village as Giffords met with voters outside a Safeway grocery store.
Alex Villec, 19, a volunteer for the event, told the Arizona Daily Star that the gunman asked to speak to Giffords, but Villec told him to go to the back of the line. The gunman did that, and minutes later he walked toward her.
"He was intent," Villec said. "He was intent when he came back - a pretty stone-cold glance and glare."
"I didn't see his gun, but it was clear who he was going for," he added. "He was going for the congresswoman."
Villec said the shooter walked past tables and toward Giffords, then raised his hand. Villec said he heard gunshots before ducking behind a pillar.
"It was bedlam," he said. "People were getting down on the ground. They were screaming. I just did what I could to keep myself protected."
Villec said he did not see two men tackle the gunman but afterward spoke with one of the men who was next in line to greet Giffords.
Law enforcement officials and reporters from around the country quickly descended on Tucson, the second biggest city in the state and home to the University of Arizona. The scene has been converted into a command post with about a dozen or so emergency vehicles and agents in FBI jackets milling about the location.
Outside Giffords' office on Capitol Hill, a handful of congressional staffers could be seen walking into her office without comment, some with roller bags and one who was in tears. About a half dozen yellow flowers placed by one mourner sat outside the door.
In Loughner's middle-class neighborhood - about a five-minute drive from the scene - sheriff's deputies had much of the street blocked off as curious neighbors asked what was going on. The neighborhood sits just off a bustling Tucson street and is lined with desert landscaping and palm trees.
Neighbors said Loughner kept to himself but that they often saw him walking his dog, almost always wearing a hooded sweat shirt listening to his iPod. Neighbors said Loughner lived with his parents.
"We're getting out of here. We are freaked out," 33-year-old David Cleveland, who lives a few doors down from Loughner's house, told The Associated Press.
Cleveland said he was taking his wife and children, ages 5 and 7, to her parent's home when they heard about the shooting.
"When we heard about it we just got sick to our stomachs," Cleveland said. "We just wanted to hold our kids tight."
High school classmate Grant Wiens, 22, said Loughner seemed to be "floating through life" and "doing his own thing."
"Sometimes religion was brought up or drugs. He smoked pot, I don't know how regularly. And he wasn't too keen on religion from what I could tell," Wiens said.
The shooting comes amid a highly charged political environment that has seen several dangerous threats against lawmakers but nothing that reached the point of actual violence.
A San Francisco man upset with House Speaker Nancy Pelosi's support of health care reform pleaded guilty to threatening the Democratic congresswoman and her family, calling her directly on March 25 and threatening to destroy her Northern California home if she voted for health care reform.
In July, a California man known for his anger over left-leaning politics engaged in a shootout with highway patrol officers after planning an attack on the ACLU and another nonprofit group. The man said he wanted to "start a revolution" by killing people at the ACLU and the Tides Foundation.
During his campaign effort to unseat Giffords in November, Republican challenger Jesse Kelly held fundraisers where he urged supporters to help remove Giffords from office by joining him to shoot a fully loaded M-16 rifle. Kelly is a former Marine who served in Iraq and was pictured on his website in military gear holding his automatic weapon and promoting the event.
"I don't see the connection," between the fundraisers featuring weapons and Saturday's shooting, said John Ellinwood, Kelly's spokesman. "I don't know this person, we cannot find any records that he was associated with the campaign in any way. I just don't see the connection.
"Arizona is a state where people are firearms owners - this was just a deranged individual," Ellinwood said.
Giffords is known in her southern Arizona district for her numerous public outreach meetings, which she admitted in an October interview with The Associated Press can sometimes be challenging.
"You know, the crazies on all sides, the people who come out, the planet earth people," she said with a following an appearance with Adm. Mike Mullen in which the chairman of the Joint Chiefs of Staff was peppered with bizarre questions from an audience member. "I'm glad this just doesn't happen to me."
Associated Press Writers Pauline Arrillaga in Tucson, Jacques Billeaud, Bob Christie and Paul Davenport in Phoenix, and Espo, Matt Apuzzo, Eileen Sullivan, Adam Goldman and Charles Babington in Washington contributed to this report.