Germany tops USA 1-0, but both advance out of World Cup Group G

RECIFE, Brazil (AP) — Thomas Muller scored his fourth goal of the World Cup on Friday as Germany defeated the United States 1-0 to win Group G ahead of the

RECIFE, Brazil (AP) — Thomas Muller scored his fourth goal of the World Cup on Friday as Germany defeated the United States 1-0 to win Group G ahead of the Americans, who also advanced to the knockout stage of the World Cup despite losing.

With two wins and a draw, Germany topped the group with seven points, while the U.S. progressed with four. Portugal beat Ghana 2-1 but both were eliminated. Portugal also finished with four points but the U.S. had a better goal difference.

Muller scored in the 55th minute with a side-footed shot from the edge of the area as tropical downpours drenched the Arena Pernambuco. Both teams knew before kickoff that a draw would see them through, but neither held back.

The game pitted Germany coach Joachim Low against his good friend and predecessor Jurgen Klinsmann, now in charge of the U.S. team. The two coaches smiled as they shook hands and patted each other on the shoulder after the match. Germany's goal came after a corner by Mesut Ozil. U.S. goalkeeper Tim Howard did well to punch out a header by Per Mertesacker but the ball fell kindly to Mueller, who pounced on the rebound and rifled a shot inside the far post from the edge of the penalty area.

Muller played despite needing five stitches to close a cut above his right eye sustained in the 2-2 draw with Ghana on Saturday and still visible five days later. The United States had a chance to level the match in stoppage time, but Alejandro Bedoya's low shot inside the box was swept away by the sliding Mario Gotze, a late substitute. The Americans got a corner but Clint Dempsey's header at the far post went high.

Low reshuffled his lineup by bringing in forward Lukas Podolski for Gotze and midfielder Bastian Schweinsteiger for Sami Khedira. Center back Geoff Cameron was replaced in the U.S. lineup by Omar Gonzalez.

​There were many empty seats in the Arena Pernambuco when the match kicked off but fans streamed in during the first half, apparently delayed by traffic jams as torrential rain flooded parts of this northeastern Brazilian city. Germany was quicker off the mark and Howard intercepted a low cross from Podolski before Michael Bradley made a good clearance and Gonzalez defended well to deny Muller a shot from close range. Howard's 103th cap was a record for a U.S. goalkeeper and he did well to stop Ozil's shot in the 35th minute.

Graham Zusi had the first good shot for the U.S. but his effort in the 22nd went high. Referee RavshanIrmatov of Uzbekistan collided accidentally with Jermaine Jones in the 28th and the American midfielder went down hard but got up. The referee shrugged off the challenge. MiroslavKlose came on for Podolski at the start of the second half but failed to score and grab sole possession of the World Cup scoring record that he now shares with Brazil's Ronaldo at 15. Ozil beat Gonzalez to a cross at the start of the second half but sent his header high, while Klose connected with a cross from Schweinsteiger but was off balance and did not get off a clean header.

Here's how the dramatic final day of Group G unfolded:

Live Blog World Cup Group G: USA vs. Germany/Portugal vs. Ghana

GALLERY: Scenes from the Brazil's Beaches

Scenes from the Beaches in Brazil

brazil-beaches-X158334_TK9_0503.jpg
Simon Bruty/SI
001 brazil-beaches-X158334_TK9_0662.jpg
Simon Bruty/SI
brazil-beaches-X158334_TK9_1821.jpg
Simon Bruty/SI
brazil-beaches-X158334_TK10_1527.jpg
Simon Bruty/SI
01 brazil-beaches-2011-07-29T215535Z_01_(2)_1.jpg
Ricardo Moraes
rio-de-janeiro-beach-soccer.jpg
Christophe Simon/AFP/Getty Images
brazil-beaches-X158334_TK9_0154.jpg
Simon Bruty/SI
01 1 a brazil-beaches-28321081.jpg.filepart_1.jpg
Marcelo Sayao
01 2014-06-04T220445Z_1054214034_GM1EA650_1.jpg
Sergio Moraes
01 450350412_1.jpg
Matthias Hangst/Getty Images
01 4dd4caf5ed5442678bcc876e1975c950-0_1.jpg
Hassan Ammar/AP
brazil-beaches-X158334_TK9_0719.jpg
Simon Bruty/SI
01 61a6cf919d84469c8b2d2da8f163bb93-0_1.jpg
Wong Maye-E/AP
brazil-beaches-X158334_TK9_1185.jpg
Simon Bruty/SI
1fd86eafd4194f99bf836d6a8207fe45-0.jpg
Leo Correa/AP
01 450348684_1.jpg
Julian Finney/Getty Images
450453698_10.jpg
Joe Raedle/Getty Images
brazil-beach-948a9f29848-0.jpg
Matt Dunham/AP
450452564_10.jpg
Joe Raedle/Getty Images
01 450458648_10_1.jpg
Clive Rose/Getty Images
brazil-beach-5aa0da103578351c6-0.jpg
Leo Correa/AP
brazil-beach-92550c27edf690e7-0.jpg
Julio Cortez/AP
brazil-beach-450560098_10.jpg
Ronaldo Schemidt/AFP/Getty Images
brazil-beach-450580274_10.jpg
Joe Raedle/Getty Images
brazil-beach-450607366_10.jpg
Carl De Souza/AFP/Getty Images
brazil-beach-568a5f092b5d7cff23-0.jpg
Silvia Izquierdo/AP
brazil-beach-450611010_10.jpg
Carl De Souza/AFP/Getty Images
brazil-beach-450612808_10.jpg
patrik Stollarz/AFP/Getty Images
brazil-beach-450608384_10.jpg
Joe Raedle/Getty Images
brazil-beach-450663014_10.jpg
Aris Messinis/AFP/Getty Images
brazil-beach-05bf701352f92585ae-0.jpg
Julio Cortez/AP
brazil-beach-e148dc74529b-0.jpg
Matt Dunham
brazil-beach-450673400_10.jpg
Joe Raedle/Getty Images
brazil-beach-b00738045f164c3c-0.jpg
Silvia Izquierdo/AP
brazil-beach-4aec2dd24b53be5ca-0.jpg
Wong Maye-E/AP
01 450458758_10_1.jpg
Clive Rose/Getty Images
01 450482912_10_1.jpg
Dado Galdieri/Bloomberg via Getty Images
01 BRAZIL_O_1.jpg
VANDERLEI ALMEIDA/AFP/Getty Images
brazil-beach-.jpg
Michael Steele/Getty Images
01 1 4bb3f729bf8e43b3aa7f1e63ec411c85-0_1.jpg
Hassan Ammar/AP
X158334_TK3_0161_0.jpg
Simon Bruty/SI
X158334_TK3_1404.jpg
Simon Bruty/SI
X158334_TK3_1480(2).jpg
Simon Bruty/SI
X158334_TK3_0186_0.jpg
Simon Bruty/SI
2b3b932652224eae8a27258a5fb8a187-0_1.jpg
Leo Correa/AP
2d1eefb56c1a4143923e6fd98f60484b-0_1.jpg
Wong Maye-E/AP
4f5ce9d8d6474c6caeef95f53c79a3c5-0_1.jpg
Rodrigo Abd/AP
5cbb921feb4e4f62a8d5065bac64d7e4-0_1.jpg
Silvia Izquierdo/AP
6e00f61254084cb6a5c0c95ee5aba204-0_1.jpg
Wong Maye-E/AP
9ba8c59ac4544180a4f9b9b0be28bb5c-0_1.jpg
Felipe Dana/AP
brazil-beach-a8014e0718f3a6cb-0.jpg
Silvia Izquierdo/AP
brazil-beach-450681622_10.jpg
Joe Raedle/Getty Images
brazil-beach-a18c9a74b1e571-0.jpg
Silvia Izquierdo/AP
50edf5b308294ad680cbb0cdcb1fa333-0_1.jpg
Hassan Ammar/AP
2014-06-09T221555Z_1937682153_TB3EA691_0.jpg
Dylan Martinez
2014-06-12T214945Z_1195445412_TB3EA6C1_0.jpg
Pilar Olivares
X158334_TK3_0221_0.jpg
Simon Bruty/SI
7637f987895a4ca78a36cb22a6596ad3-0_0.jpg
Silvia Izquierdo/AP
31754ba36a2842358dec4e47b05e91e9-0_0.jpg
Silvia Izquierdo/AP
567892a7ecad44d8b227815bdcfe779c-0_0.jpg
Rodrigo Abd/AP
29418346.jpg.filepart_0.jpg
Alessandro Buzas/Landov
30097416f2dd424888c2f1d8e751a713-0_0.jpg
Felipe Dana/AP
79068927_10_0.jpg
Vanderlei Almeida/AFP/Getty Images
82469116_10.jpg
Vanderlei Almeida/AFP/Getty Images
brazil-beach-58b4c3032d1b76bb76-0.jpg
Silvia Izquierdo/AP
95749094_10.jpg
Pablo Jacob/Globo via Getty Images
98688019.jpg
Hamish Blair/Getty Images
103738304_10.jpg
Vanderlei Almeida/AFP/Getty Images
117081397_10.jpg
Vanderlei Almeida/AFP/Getty Images
brazil-beaches-brazil-beaches-X158334_TK10_0528.jpg
Simon Bruty/SI
132340403_10.jpg
Rubens chaves/LatinContent/Getty Images
136070706_10.jpg
Vanderlei Almeida/AFP/Getty Images
136070718_10.jpg
Vanderlei Almeida/AFP/Getty Images
138342047_10.jpg
Diego Giudice/Bloomberg via Getty Images
138342075_10.jpg
Diego Giudice/Bloomberg via Getty Images
157154937_10.jpg
ANTONIO SCORZA/AFP/Getty Images
168563092.jpg
Alvinho Duarte/LatinContent/Getty Images
169976314.jpg
Michael Regan/Getty Images
170470920.jpg
Laurence Griffiths/Getty Images
174547981_10.jpg
Vanderlei Almeida/AFP/Getty Images
178670404_10.jpg
MADELEINE PRADEL/AFP/Getty Images
450300094.jpg
Jamie Squire/Getty Images
450348646.jpg
Julian Finney/Getty Images
01 450457938_10_1.jpg
Julian Finney/Getty Images
450350420.jpg
Matthias Hangst/Getty Images
450457648.jpg
Jamie Squire/Getty Images
450458694_10.jpg
Clive Rose/Getty Images
450459448.jpg
Matthias Hangst/Getty Images
brazil-beach-450566294_10.jpg
Joe Raedle/Getty Images
450459504_10.jpg
Jamie Squire/Getty Images
450460992_10.jpg
Matthias Hangst/Getty Images
451620247.jpg
Mario Tama/Getty Images
451620453.jpg
Mario Tama/Getty Images
451677801_10.jpg
YASUYOSHI CHIBA/AFP/Getty Images
460577273_10.jpg
YASUYOSHI CHIBA/AFP/Getty Images
brazil-beaches-4a40b1339d(2).jpg
Silvia Izquierdo/AP
brazil-beaches-X158334_TK9_0938.jpg
Simon Bruty/SI
brazil-beaches-450482976_10.jpg
Dado Galdieri/Bloomberg via Getty Images
brazil-beaches-450507028_10.jpg
YASUYOSHI CHIBA/AFP/Getty Images
brazil-beachesfilepart.jpg
marcelo Sayao/Landov
Brazil-Wcup-Soccer(2).jpg
Silvia Izquierdo/AP
cc29a830a9841b884767363582761d9-0.jpg
Matt Dunham/AP
dda5c2c0608f42f6b874c0f784fa5cd8-0.jpg
Leo Correa/AP
X158334_TK2_0467_0.jpg
Simon Bruty/SI
X158334_TK3_0133_0.jpg
Simon Bruty/SI
brazil-beach-8b36ef20b437fe-0.jpg
Hassan Ammar/AP
brazil-beach-9099b5540a0b6fb9-0.jpg
Leo Correa/AP
450711872.jpg
Yasuyoshi Chiba/AFP/Getty Images
450709362.jpg
Joe Raedle/Getty Images
450705344.jpg
Joe Raedle/Getty Images
63f4cb55ad3944e88ccaf15f42375810-0.jpg
Leo Correa/AP
15918abef95d4293990f6177f88005d9-0.jpg
Leo Correa/AP
86890e6a859e414896b778209f9629ce-0.jpg
Wong Maye-E/AP
brazil-beach-199ec2cbc4ee0b277-0.jpg
Julio Cortez/AP

Published