AL RAYYAN, Qatar (AP)Australia qualified for a fifth straight World Cup after a 5-4 penalty shootout win over Peru in their intercontinental playoff on Monday.

The teams failed to score in regulation and extra time at Ahmad bin Ali Stadium, and goalkeeper Eddie Redmayne, sent on as a substitute in the dying seconds of extra time, proved to be the star for Australia by saving the last penalty from Alex Valera.

The dramatic end followed two hours of little action.

Australia finished regulation as the only team creating chances. Ajdin Hrustic, who scored the winning goal against the United Arab Emirates in the Asian playoff victory last week, had the first shot on target in the entire game after 82 minutes, and went close again shortly after.

Peru substitute Edison Flores headed against the foot of Australia’s post early in the second period of extra time but that was as close as both teams came to breaking the deadlock as the game drifted towards a shootout.

Pedro Gallese saved Martin Boyle’s opening spot kick. Australia drew level when Luis Advincula hit the post.

Redmayne, making only his third appearance for the national team and dancing along the goal-line, saved from Valera, and it was enough for the Socceroos to return to Qatar in November for their sixth overall World Cup appearance.

Australia will meet defending champion France in the opening game of Group D on Nov. 22, and take on Tunisia and Denmark.

The final place at the World Cup will be filled in the same stadium on Tuesday when Costa Rica meets New Zealand.

More AP soccer: https://apnews.com/hub/soccer and https://twitter.com/AP-Sports