PRETORIA, South Africa -- Over and over, everything seemed to go against them.
A referee took away a win last week, and a linesman disallowed another goal Wednesday.
World Cup, just that much remaining until all the doubts about American soccer would rise again.
But then, in one of the most stunning turnarounds in World Cup history, Landon Donovan scored on a lightning fast counterattack 45 seconds into 4 minutes of injury time. With the most amazing late-game moment in American soccer, the United States beat Algeria 1-0 and reached the World Cup's second round.
"This team embodies what the American spirit is about," Donovan said. "We had a goal disallowed the other night. We had another good goal disallowed tonight. But we just keep going. And I think that's what people admire so much about Americans. And I'm damn proud."
Former President Bill Clinton lingered in the locker room for 45 minutes after the game to congratulate the players. When Donovan scored, raucous cheers erupted on the floor of the New York Stock Exchange and even in White House auditoriums in Washington, D.C., according to e-mails sent to U.S. Soccer Federation president Sunil Gulati.
"That's probably going to capture more people's attention than if we won the game 3-0 and it was easy," American goalkeeper Tim Howard said. "That emotion, that passion is what American sports fans thrive on."
The United States won its first World Cup match in eight years and finished atop its first-round group for the first time since the original World Cup in 1930. With a quick turnaround, the Americans play Ghana on Saturday night (2:30 p.m. ET, ABC) in Rustenburg for a spot in the quarterfinals. Ghana won the final match of the opening round against the Americans to knock them out of the tournament in Germany four years ago.
Clint Dempsey appeared to score in the 21st minute off the rebound of Herculez Gomez's shot. But the goal was called offside.
United States team page
For more about the U.S. and its chances in South Africa this summer, click here.
Dempsey's 12-yard shot off Jozy Altidore's cross clanked off the far post in the 57th minute, and when the rebound came back to Dempsey, he put the follow shot wide to the near side.
"You shake it out of your head and keep on fighting," Dempsey said.
Knowing England was ahead of Slovenia at the half, the U.S. put in offensive substitutes, first Benny Feilhaber at the start of the second half, then Edson Buddle in the 64th and finally DaMarcus Beasley in the 81st.
"The second half wasn't a soccer game -- it was more like ... a track meet. Back and forth, back and forth, both teams are so desperate," Howard said.
Howard started the counter-attack that led to the goal when he knocked down an Algerian shot and rolled the ball to Donovan on the right flank. Donovan moved upfield and passed ahead to Jozy Altidore just inside the 18-yard box.