Argentina triumphed in the women's hockey competition here at the Lima 2019 Pan American Games to secure a spot at the Tokyo 2020 Olympic Games.
Argentina eased past Canada 5-1 to take gold at the Villa María del Triunfo Sports Complex.
Julieta Jankunas scored twice for the victors, with Carla Rebecchi and Maria Silvina D'Elia also getting on the score-sheet.
The Canadian consolation goal came from Katherine Wright.
The United States were the bronze medallists after beating Chile by the same scoreline.
Argentina will now compete at Toyko 2020, joining Japan who have automatically qualified as hosts, alongside 10 other teams that are yet to be decided.
They finished seventh at the Rio 2016 Olympics, exiting the competition at the quarter-final stage.
There was misery for Argentina later on in the evening, however, after the women's football team lost to Colombia on penalties at Estadio Universidad San Marcos.
The score was 1-1 at full time, with Agustina Barroso Basualdo of Argentina and Maria Catalina Usme Pineda getting a goal each.
Colombia then triumphed 6-7 in the resulting shoot-out.
Costa Rica took third place following a 1-0 victory against Paraguay.
With the swimming competition nearing its conclusion here, the United States continued to dominate in the pool at VIDENA National Sports Complex.
Charles Swanson impressed in the men's 400 metre individual medley, finishing in 4mins 11.46secs.
Brazil's Leonardo Coelho Santos was whole 7.95 seconds behind, finishing with silver in 4:19.41.
Fellow Brandonn Pierry Cruz de Almeida was third, recording a time of 4:21.10.
The American women's 4x200m freestyle relay team then triumphed, doing so in 7:57.33.
Canada were the runners-up in 7:59.16, while Brazil finished quite a distance behind in 8:07.77.
Despite the disappointing performance in the women's relay, the Brazilian men's 4x200m freestyle relay team emerged victorious.
They touched the wall at 7:10.66, followed by the US in 7:14.82 and Mexico with 7:19.43.
Earlier in the evening, Brazil’s Bruno Fratus, the silver medallist in the past two World Championships, won the men’s 50 metres freestyle.
He powerd to the gold medal in a time of 21.61, just 0.03 outside the Pan American Games record.
American Nathan Adrian took the silver medal in a time of 21.87 as he continued his comeback from cancer, while his team-mate Michael Chadwick claimed the bronze in 21.99.