Julie Ertz came off the bench and scored in the 89th minute as the United States overcame a late two-goal deficit to beat Brazil 4-3 on Sunday night in a thrilling match at the Tournament of Nations. The United States were in danger of losing for the fourth time this year before the three-goal flurry in nine minutes.

Two minutes after Brazil’s Andressinha scored a free kick in the 78th minute for her second goal of the game, Christen Press countered to make it 3-2 with her 43rd international goal and second of the year. Press fed Megan Rapinoe for a spectacular blast that tied it in the 85th minute, and Ertz put the Americans ahead four minutes later.

Jodie Taylor goal fires England into Euro 2017 semi-finals at expense of France Read more

Rapinoe, who was recovering from knee surgery for much of last year, had not scored for the national team since the 2015 World Cup. She has rebounded this season with the NWSL’s Seattle Reign and leads the league with 12 goals.

The United States were coming off a 1-0 loss to Australia in the team’s Tournament of Nations opener in Seattle on Thursday night. It was the first time that the Australians had beaten the Americans in 28 previous matches.

Why can’t we celebrate women’s sport without relating it to men’s? | Marina Hyde Read more

Coach Jill Ellis tinkered with her line-up against Brazil, surprisingly moving Becky Sauerbrunn to a defensive midfielder role rather than her usual spot at center back. The United States has never dropped four games on home soil in a single season. In addition to Australia on Thursday, the Americans fell to England and France in the She Believes Cup in March.

Australia, ranked No7 in the world, lead the tournament standings. The Matildas will wrap up the round-robin tournament against Brazil on Thursday in Carson, California. The United States will face Japan.