The World Cup champion women’s soccer team has a new labor deal, settling a dispute in which players sought equal wages to their male counterparts.

The agreement with the U.S. Soccer Federation runs through 2021, meaning the players will be under contract through the 2019 World Cup in France and the 2020 Tokyo Olympics.

The women will receive raises in base pay and bonuses, as well as better provisions for travel and accommodations.

The deal came as the team prepares for an exhibition Thursday against Russia in Frisco, Texas. The team faces Russia again Sunday in Houston.

The agreement was ratified by the players and the federation’s board Tuesday. The team had been playing under a memorandum of understanding that expired Dec. 31.

It also came before the start of the National Women’s Soccer League season April 15. U.S. Soccer pays the wages of the national team players who are allocated across the domestic league, and the terms of those salaries are outlined in the collective bargaining agreement.

“I’m proud of the tireless work that the players and our bargaining team put in to promote the game and ensure a bright future for American players,” player representative Meghan Klingenberg said in a statement. “We are excited to further strengthen the USWNTPA through our new revenue generating opportunities and abilities.”