The U.S. women’s national hockey team has triumphed before the world championships even begin. The women had said they would not play in those world championships—after winning the event six of the last eight times it was played—unless USA Hockey stepped up its support of women in the sport and moved toward fair pay. Now, team members and USA Hockey have announced a deal just in time for the championships:

USA Hockey, the sport’s American federation, and the U.S. women’s team announced in a joint press release that they had reached an agreement “that will result in groundbreaking support for the U.S. Women’s National Team program over the course of the next four years.” [...] The two sides agreed to keep financial terms of the deal private. But the deal includes the formation of a new advisory group made up of current and former players that will “assist USA Hockey in efforts to advance girls’ and women’s hockey,” the release said. “Our sport is the big winner today,” said Meghan Duggan, the team’s captain. “We stood up for what we thought was right and USA Hockey’s leadership listened. In the end, both sides came together.”

USA Hockey had gone looking for scabs, but women’s hockey players across the country had refused to bite, and NHL players were reportedly ready to stand with the women.