After more than half a decade, the U.S. Women’s National Soccer Team’s fight over equal pay ended Tuesday with a multimillion-dollar payment to players and the organization’s promise to equalize pay between the men’s and women’s national teams.

The U.S. Soccer Federation and members of the team who sued for gender discrimination reached a $24 million settlement.