Updated

The United States beat Canada 2-1 Sunday at the Four Nations tournament, a warmup for this summer's Women's World Cup in Germany.

In the other game, China defeated Sweden 2-1. All four teams in the tournament have a win and a loss.

The top-ranked Americans won on a long shot by Lindsey Tarpley in the 70th minute. Lauren Cheney of the U.S. opened the scoring in the 54th minute.

Canada tied it two minutes later on a hard shot by Melissa Tancredi after a solo run. The Americans ended Canada's 11-game unbeaten streak, a team record.

"You have to look at two things from the game," U.S. coach Pia Sundhage said. "Attitude over 90 minutes, which we emphasized after the Sweden game, and I think we brought that to this game, but also smartness."

Sundhage tinkered with her lineup, changing seven players from the starting lineup that was beaten by Sweden on Friday.

The U.S. team almost added another goal in the 86th minute when Alex Morgan burst up the middle while pursuing a ball and was pulled down from behind near the edge of the penalty area.

In the first game, China's You Jia had the winning goal in the 61st minute. Josefine Oqvist opened the scoring in the 15th minute before Sweden's Lina Nilsson conceded an own-goal.

On Tuesday, China plays the U.S. and Canada faces Sweden. China did not qualify for World Cup and is trying to make the 2012 Olympics.