MONTREAL (AP) — Carli Lloyd buried a penalty kick, Hope Solo got another shutout and the United States beat top-ranked Germany 2-0 on Tuesday night to advance to the title match at the Women's World Cup.

Lloyd's penalty kick in the 69th minute went into the right side of the goal less than 10 minutes after Celia Sasic shot wide on a penalty kick for Germany.

"Just slotted it home. I knew what I had to do," Lloyd said.

Solo has posted five straight shutouts for the United States in the tournament. Kelley O'Hara came in off the bench and scored in the 85th minute, delighting the pro-American crowd.

The second-ranked United States will play the winner of Wednesday night's match in Edmonton between defending champion Japan, ranked No. 4, and sixth-ranked England. The final is set for Sunday at Vancouver's BC Place.

"It's a dream come true," Lloyd said. "This is what we trained for."

It was the fourth World Cup meeting between Germany and the U.S. In each of the first three games, the winner went on to win the title.

The marquee matchup led to lines of fans waiting to get in about three hours before the game. The line for the main souvenir stand snaked up a half-dozen ramps to the building's third level at one point.

The stadium built for the 1976 Olympics, where the East German men won the gold medal, was filled nearly to its blue fabric roof, mostly with fans cheering for the United States. The crowd was announced at 51,176.

Previous games in Montreal had the stadium less than half full, with the upper bowl completely empty.

The United States had several good chances from the start. Julie Johnston missed on a header off a corner kick from Megan Rapinoe, and Alex Morgan's breakaway in the 15th minute was stopped by goaltender Nadine Angerer.