Gabrielle Giffords has made a “major leap forward” in her recovery progress, opening both eyes and moving her legs and arms, her doctors said Thursday.

The Arizona congresswoman remains in critical condition after being shot in the head Saturday. Few people who take a bullet to the brain — just 10 percent — survive such a devastating wound.

With her closest friends from Congress holding her hand Wednesday evening, Giffords opened her unbandaged left eye and tried to focus on loved ones for the first time.

“This is a major leap forward. This is a major milestone for her and we’re hoping that she crosses through many more,” said her neurosurgeon Dr. Michael Lemole.

Sen. Kirsten Gillibrand, who was present for the eye opening, said: “It was raw courage. It was raw strength. It was so beautiful and so moving.”

Doctors have also helped Giffords sit up and dangle her legs from her bed. She’s able to open her right eye, even though it’s bandaged.

The next milestone will be removing her breathing tube, and perhaps have her sit in a chair on Friday, said Dr. Peter Rhee, trauma chief at University Medical Center, who has treated soldiers in Iraq and Afghanistan. Doctors want to make sure Giffords doesn’t regress and are watching for pneumonia and blood clots.

It’s a far cry from last week, when a shocked nation braced for the worst for the 40-year-old Arizona congresswoman. Several news outlets erroneously declared her dead soon after the shooting rampage that killed six. Stunned by the day’s events, crowds held candlelight vigils outside the hospital and Giffords’ Tucson office.

After her surgery, Dr. Richard Carmona, the former surgeon general and family friend who looked at Giffords’ brain scans, gave a bleak outlook.

“With guarded optimism, I hope she will survive, but this is a very devastating wound,” he said.

But as the days ticked by, doctors shared signs of improvement. There was a glimmer of hope early on: Giffords was able to squeeze a doctor’s hand in the emergency room.

By Sunday, Lemole said he was “cautiously optimistic” about her survival. She could follow basic commands when they briefly eased up on her sedation.

Doctors were encouraged Monday that there was no further brain swelling, and Giffords could raise two fingers of her left hand and even flashed a thumbs-up.

The following day, doctors said Giffords was breathing on her own, but still connected to a respirator as a precaution. She was also moving both arms. Doctors gave their most confident prognosis yet: She will survive.

“She has no right to look this good and she does,” Lemole said.

As her sedation was scaled back, Giffords became more alert and moved on her own — touching her wounds and fixing her hospital gown. She even scratched her nose, Lemole said.

The encouraging news continued when Gillibrand and Rep. Debbie Wasserman Schultz, D-Fla., stood in the hospital room Wednesday, talking, joking and touching their friend.

“She was rubbing our hands and gripping our hands so … we knew she could hear and understand what we were saying and she moved her leg, and so we knew she was responding,” Gillibrand said. “And the more we joked about what we were going to do, she started to open her eyes.”

Giffords’ husband, Mark Kelly, realized the significance of the moment. “Gabby, open your eyes, open your eyes,” he said, according to Gillibrand.

Said Schultz: “It felt like we were watching a miracle.”

So how did Giffords survive the gunshot wound? The path of the bullet, quick and quality medical care, and a stroke of luck meant the difference between life and death, say her doctors and brain experts.

Doctors think the bullet pierced the front of Giffords’ head and exited the back, slicing the left side of the brain, which controls speech abilities and muscles on the right side of the body.

Had the bullet damaged both sides of the brain or struck the brain stem, which connects to the spinal cord, the outcome would likely be worse — extensive permanent damage, vegetative state or death.

“So far, she’s passed with flying colors of each stage” of her recovery, said neurologist Dr. Marc Nuwer of the University of California, Los Angeles, who is not involved in the congresswoman’s treatment.

Most gunshot victims are not that fortunate. Several years ago, a Tucson police officer was shot in the head during a chase. His heart was beating when he was rushed to University Medical Center, but doctors couldn’t control the bleeding in the brain and he died, Rhee said.

When Giffords arrived at the hospital, doctors first checked to make sure she didn’t have any other injuries. They took a brain scan and wheeled her to the operating room in a swift 38 minutes.

The same attack in the desert many miles away from a trauma center may have led to a different ending.

It’s too early to tell the extent of damage Giffords suffered, but experts say it’s rare for people with gunshot wounds to the head to regain all of their abilities. Damage to the left side of the brain can result in memory loss, difficult reading and hand-eye coordination problems. Giffords’ doctors have not been able to determine how well she can speak since she still has a breathing tube.

“Her full-time job now for the next year is working on her recovery and rebuilding her life around her disability whatever it may be,” said Dr. Stephan Mayer, professor of clinical neurology at Columbia University Medical Center in New York, who has no role in Giffords’ care.