SAN JOSE -- Gabrielle Douglas earned the guaranteed Olympic women's gymnastics spot Sunday night by winning the trials over reigning world champion Jordyn Wieber before a sellout crowd at the HP Pavilion.

As expected Wieber was named to the five-woman team and was joined by 15-year-old Kyla Ross and 16-year-old McKayla Maroney, as well as Aly Raisman.

The alternates are Anna Li, an uneven bars specialist from Aurora, Elizabeth Price and Sara Finnegan of St. Louis.

Wieber had cut deeply into Douglas's lead, which had been almost a point and a half after the first two rotations, when she rocked a floor performance in the third rotation and scored 15.600 while Douglas had a wickedly wobbly balance beam routine that earned only a 14.850.

But Douglas, needing to score a 15.200 on her final routine, the floor exercise, earned a 15.300.

Only the Olympics trials winner earned an automatic spot at the end of Sunday's competition.

The other four team members and alternates were chosen by a selection committee headed by coordinator Martha Karolyi after Sunday's competition ended.

Douglas started Sunday night in spectacular fashion, earning a 16.000 on her vault which, during warm ups she had struggled to land. But when it counted, Douglas was nearly perfect. Wieber had a 15.350 on uneven bars, the piece of equipment Wieber has said was not her favorite.

Elizabeth Price, who turned 16 only a month ago, finished fourth in the all-around, just behind third-place Aly Raisman.

On the second rotation Nastia Liukin, the defending Olympic all-around gold medalist and silver medalist on the uneven bars, lost her final hopes of making another Olympic team when she missed a release move and landed hard on the mat, her face bouncing up and down. To a standing ovation, Liukin got back on and finished her routine, even knowing her Olympic dream was over.

As she received a score a 13.950, Liukin fought off her tears and acknowledged the reception she was receiving from the sold-out arena.

None of the three members of the U.S. silver-medal winning 2008 Olympics team who tried to this London team advanced. Bridget Sloan sprained her elbow Friday night while warming up on uneven bars and had to withdraw.

Alicia Sacramone came closest. She had torn an Achilles last year during a training day in Japan just before world championships. Sacramone only competed on vault and uneven bars.

Liukin, 22, said afterwards, "My time is over," while saying she was proud to have finished Sunday night.

After an equally shaky performance on Friday during the first night of Olympic trials, Liukin said she heard from many people who suggested she might want to withdraw before Sunday night.

"But that's not who I am," Liukin said. "I'm not a quitter.