Medals were on the line on the final day of the men's handball tournament at the 2024 Paris Olympics. Denmark eased past Germany to win gold, while Spain edged Slovenia to claim bronze.

Read the recaps from the gold and bronze medal matches below.

Gold medal match: Germany vs. Denmark

Denmark clinched its second men's Olympic handball gold medal when it beat Germany 39-26 in the final as one of the sport's greatest, Mikkel Hansen, retired on a high.

It was Denmark's second title in the last three Games, having played all three finals in Rio, Tokyo and Paris.

Germany, who knocked out defending champions France in the quarterfinals, were never in the mix and trailed throughout after leveling for 1-1.

Denmark put its stamp on the match after leading 21-12 in the first half. The dominance continued in the next 30 minutes as Denmark scored another 18 to keep its heavy lead intact against Germany. 

The Danish attack converted 75% of its shots and Mathias Gidsel led the team's scoring with 11 goals. 

Reuters contributed to this report. 

MATCH STATS

Bronze medal match: Spain vs. Slovenia

Spain and Slovenia played out an intense, end-to-end match in the bronze medal final. In the end, it was Spain who would stand on the No. 3 spot on the podium after narrowly beating Slovenia 23-22.

From the start, there was nothing to separate these two teams. When Spain would score, Slovenia would answer right back with a goal — and vice versa. It was certainly an entertaining game for neutrals as the match was tied 12-12 at the end of the first half. 

Heading into the second, there was more of the same with no team pulling ahead by more than two points to create a comfortable lead. However, two quick goals in the last five minutes by Spain's Abel Serdio and Alex Dujshebaev gave Spain a 23-21 lead to hang onto. Jure Dolenec was able to pull one back for Slovenia to make it 23-22, but in the last second of the match, goalkeeper Gonzalo Perez made a crucial save to ensure Spain won the bronze medal. 

It was almost an even game throughout the fight for bronze as both teams converted 61% of their shots, but Aleix Gomez's five goals did just enough to push his side and earn bronze for Spain. 

Slovenia, who were the surprise team of the tournament, will without a doubt be proud of its run at the Paris Olympics knowing it gave it its all while going toe-to-toe against some of the world's best teams, narrowly missing out on a medal. 

MATCH STATS