Alex Morgan scored twice as the United States produced a stunning comeback from two goals down to beat France in their opening match of the Olympic Games.
The reigning Olympic champions looked in trouble at Glasgow's Hampden Park when Gaetane Thiney and Marie-Laure Delie handed France a 2-0 lead after 13 minutes.
However, Abby Wambach's header and a cool finish from Morgan brought the score level before half-time and further goals from Carli Lloyd and Morgan early in the second half gave the Americans a deserved victory.
These sides met at the semi-final stage of last year's World Cup, with the USA winning 3-1 on that occasion, but it appeared as if the French would gain revenge early on as they took advantage of sloppy American defending.
Thiney opened the scoring with a fierce effort from outside the area that Hope Solo should have done better with and two minutes later Delie doubled the advantage with a powerful drive, when after a number of ricochets around the area the ball fell perfectly at her feet.
The two-goal lead only lasted a further five minutes though as Megan Rapinoe's corner found Wambach at the back post from where she nodded in her 139th international goal.
Morgan made it 2-2 just after the half-hour mark as some awful defending allowed Solo's simple long ball to find the Seattle Sounders striker free to lift the ball over the advancing Sarah Bouhaddi.
Delie twice went close to restoring France's lead, while Morgan also had a big penalty appeal waved away.
The United States took control at the start of the second period and substitute Lloyd struck the crucial blow as she cut inside onto her left foot and fired a vicious shot into the corner from 20 yards after 56 minutes.
Another fine break from the Americans moments later sealed all three points as Tobin Heath was released down the left by Rapinoe and her cross found Morgan free at the back post to tap home.