Canada's Monika Eggens broke the spirit of the Hungarian squad, scoring five goals in the women's water polo quarter-final match at the aquatics world championships on Monday.

The favoured Hungarians, playing in front of their home crowd, could not push through Canada, who won the match 6-4, with Emma Wright scoring the final goal for Canada.

The game was tied 4-4 at the half, but Canada shut out Hungary the rest of the way behind goaltender Jessica Gaudreault of Ottawa.

Canada edges Hungary 6-4 to advance to the semifinal for the first time since 2009 at the world championships in women's water polo 1:17

"It was an incredible opportunity to play in front of such a big crowd," said Canada's Axelle Crevier. "We focused on our defence, every player knew what they had to do. We put pressure on the attackers and it was a key element of today's win."

Canada's win guarantees that they will play for a medal, and they will face Spain in the semifinals on Wednesday. Spain advanced with a 14-12 win over Greece on Monday.

It will be Canada's first semifinal appearance at the world championships since 2009, when they won silver.

Russia and the United States will meet in the other semifinal. Russia beat Italy 9-8 in the first quarter-final match, with the U.S. taking out Australia 7-5 in the other.