The U.S. women's national soccer team (USWNT) and governing body U.S. Soccer said on Tuesday they have agreed to resolve a years-long dispute over equal pay on what the players described as a landmark day for the sport.

The settlement will see $22 million distributed in a manner proposed by the players and approved by a district court.

U.S. Soccer also committed to providing an equal rate of pay going forward for the women's and men's national teams in all friendlies and tournaments, including the World Cup.