PANAMA CITY, Panama — Anibal Godoy scored in the 54th minute and Panama upended the United States 1-0 in a World Cup qualifier Sunday night when American coach Gregg Berhalter started a largely second-string lineup in the middle of another hectic stretch of three matches in seven days.

Christian Pulisic, Gio Reyna and Weston McKennie were out with injuries, Tyler Adams and Brenden Aaronson were on the bench, and Antonee Robinson didn’t travel because of British COVID-19 restrictions that would have required a quarantine on his return to England.

With the U.S. lineup far from its best, the Americans looked both nervous and overamped for stretches of the first half.

Adams entered at the start of the second half and gave away a corner kick that led to the goal on a ball he may have been able to clear. Éric Davis’ corner was headed by the 31-year-old Godoy past goalkeeper Matt Turner and inside the far post, causing a crowd about three-quarters full to shake Estadio Rommel Fernández.

Aaronson gave the U.S. more energy and pace, and Ricardo Pepi, DeAndre Yedlin and Christian Roldan entered in the 67th. During the final hectic minutes, the game was interrupted twice when fans ran onto the field, and a ball was thrown from the stands.

The Americans began the night atop the eight-nation final round of North and Central America and the Carribean, on goal difference over Mexico.

The U.S. has eight points after five of 14 games, ahead of Panama on goal difference, heading into Wednesday night’s match against Costa Rica at Columbus, Ohio. Mexico played Honduras, and Canada had six points heading into its match at Jamaica. Costa Rica hosted El Salvador.

The top three nations qualify, and the No. 4 team advances to a playoff.

The defeat ended a 13-game unbeaten streak for the Americans that included 11 wins. It was their first ever loss to Panama in a qualifier.

The match was played on the fourth anniversary of the 2-1 loss at Trinidad that ended a streak of seven World Cup appearances for the U.S., a defeat that enabled Panama to reach the World Cup for the first time.

The U.S. once again went on the road to an antiquated stadium, allowed because FIFA and CONCACAF refuse responsibility for mandating standards anything close to what leading European and American clubs maintain.

Berhalter changed seven starters from Thursday’s 2-0 home win over Jamaica, inserting Gyasi Zardes, Kellyn Acosta, Sebastian Lletget, Tim Weah, Shaq Moore, Mark McKenzie and George Bello. They joined Turner and three other holdovers: Walker Zimmerman, Yunus Musah and Paul Arriola.

During the Panamian national anthem, fans raised a large banner at one end of the stadium that read: “Nunca dehe de creer ... nunce tre dejare de apoyar (I never stop believing ... I’ll never stop supporting).”

Panama used the same starting lineup in its first three qualifiers and nine of the 11 who began Thursday’s 1-0 loss at El Salvador.

Acosta repeatedly overhit corner kicks and free kicks in the early minutess.

Panama nearly went ahead in the 14th minute when Freddy Góndola crossed to an open Rolando Blackburn, who couldn’t get his foot on the ball in front of the net.

Davis’ corner kick was deflected past the far post in the 27th minute. Turner palmed a cross over the crossbar in the 28th, and in the 34th he jutted out his right arm to deflect Góndola’s point-blank shot after Acosta’s giveaway only for Panama to be whistled for offside. Turner tipped Édgar Bárcenas’ shot over the bar in the 45th.