Two-time Olympic champion Croatia pulled away from Spain late in the second half to win 30-25 and reach the quarterfinals of the men's handball tournament at the London Games.
Spain trailed by one goal going into halftime and then levelled the match at 19-19 when Victor Tomas scored halfway into the second half. But Croatia went ahead again shortly afterward and then gradually pulled away.
They will face Tunisia in the quarterfinals.
Tunisia advanced after beating Argentina 25-23 Monday, with Calomel Aileen scoring seven goals.
Earlier, Iceland crushed Britain 41-24 to remain unbeaten and top Group A with 10 points.
It will face Hungary in the quarterfinals.
"Hungary are a very good team and we will have to fight hard to win against them," said Iceland player Arnor Atlason.
Hungary advanced after Tamas Mocsai scored nine goals in a 26-23 win over Serbia. The Serbs were the better side at the start of the decisive Group B match, and led 11-9 at halftime. Hungary levelled at 14-14 and later scored three straight to take a 21-18 lead, which it never relinquished.
In an earlier Group B match, European champion Denmark beat South Korea 26-24 to advance and likely face Sweden in the quarterfinals.