Brenden Aaronson and Timothy Weah scored midway through the first half, and Haji Wright converted a second-half penalty kick in his senior national team debut. Christian Pulisic, who normally takes spot kicks for the U.S., gave the ball to Wright, and his former U17 World Cup teammate repaid the faith with a goal.

The 15th-ranked Americans, using a roster at about 75% of full strength, won for the first time in four matches with No. 24 Morocco, which also is preparing for the November start to the World Cup tournament in Qatar.

Wearing rainbow numbers on white jerseys for LGBTQ Pride Month, the U.S. extended its home unbeaten streak to 24 matches since a September 2019 loss to Mexico, two shy of the team record.

In Qatar, the U.S. will face off against England, Iran and the winner of Sunday’s UEFA World Cup playoff between Wales and Ukraine in Group B play.