Reigning champions Brazil and 2016 finalists Germany have been drawn together in the group stages for the men's football tournament at the Tokyo Olympic Games.
Brazil secured the gold medal on home soil in Rio five years ago when defeating Germany via a penalty shoot-out, Neymar with the clinching spot-kick for following a 1-1 draw after extra time.
The two nations are together again in Group D, along with Ivory Coast and Saudi Arabia, and are in the same half of the draw as Argentina and Spain, who are both in Group C.
Hosts Japan are joined in Group A by France, Mexico – who claimed the gold medal at the 2012 Olympic Games in London – and South Africa.
Les Bleus will be involved in the opening match when they take on Mexico on July 22 at Tokyo Stadium, followed by Japan taking on South Africa at the same venue later that day.
In the women's event, the United States – winners of the 2019 World Cup - are paired with Sweden, who lost the 2016 final to Germany. Trans-Tasman rivals Australia and New Zealand complete the line-up for Group G.
Japan will take on Canada, Great Britain and Chile in Group E, while the other pool contains China, Brazil, the Netherlands and Zambia.
Men's draw in full:
Group A: Japan, South Africa, Mexico, France.
Group B: New Zealand, South Korea, Honduras, Romania.
Group C: Egypt, Spain, Argentina, Australia.
Group D: Brazil, Germany, Ivory Coast, Saudi Arabia
Women's draw in full:
Group E: Japan, Canada, Great Britain, Chile.
Group F: China, Brazil, Zambia, the Netherlands.
Group G: Sweden, United States, Australia, New Zealand.