Hungary's draw with Egypt was enough to see them through to the main round of the International Handball Federation (IHF) Men's World Championship.
Hungary and Egypt met in a Group D clash at the Royal Arena in Copenhagen.
The two teams were equal throughout, ending the first half at 14-14 and the second at 16-16 to draw overall 30-30.
This point was enough for Hungary to qualify for the main round of the competition.
Group D leaders Sweden, already qualified, continued their unbeaten run, narrowly defeating Qatar 23-22.
They play Hungary tomorrow in their final group stage fixture.
The remaining Group D game saw Argentina beat Angola 33-26, making it very difficult for Angola to qualify.
They must beat Egypt tomorrow and rely on Qatar and Argentina to draw.
In Group B, Croatia comfortably defeated Bahrain 32-20 at the Olympiahalle in Munich to top the group and eliminate Bahrain from the competition.
Japan were also eliminated after losing 25-21 to Iceland, while Spain beat Macedonia 32-21.
With Spain and Croatia through to the main round, Macedonia and Iceland play tomorrow to see who will be the third and final team to qualify from Group B.
Other fixtures tomorrow include defending champions France against Russia in Group A, alongside hosts Germany against Serbia and Brazil against already eliminated Unified Korea.
In Group C, Chile play Saudi Arabia, Austria take on Tunisia and Denmark face Norway.