The men's and women's U.S. national teams signed historic collective bargaining agreements on Tuesday.

In May, the federation announced that it had struck separate agreements with the players' unions. Revenue sharing and equitable distribution of World Cup prize money are included in the new contracts.

Secretary of Labor Marty Walsh attended a signing ceremony after the women's friendly match against Nigeria.

The women's national team and their PA, the men's national team and their PA, and everyone at U.S. Soccer all deserve a lot of credit for their work. Cindy Parlow Cone is a former national team player. It wouldn't get pushed over the line without the men jumping in and being paid equally.

The U.S. women have been fighting for equal pay and treatment for a long time. Fans chanted "Equal Pay!" when the US won the Women's World Cup.

The U.S. Soccer organization agreed to pay $24 million to settle the lawsuit. New labor agreements with both teams were required to approve the settlement.

The terms of a collective bargaining agreement expired in December of last year. After the lawsuit was settled, talks continued after the women's collective bargaining agreement expired.

There was an equal pay deal for soccer players in the U.S.

The World Cup prize money is based on how far a team progresses in the competition. The U.S. women took home less money from the World Cup than the men did. The U.S. men would have received more than $400,000 if they had won the World Cup last year.

Next year's Women's World Cup, as well as the men's World Cup later this year, will be paid for by the unions.

The men's national team players are currently playing in a league. The women's players, along with the executive director of the USWNTPA, signed.

He spoke to the crowd.

The chants of "Equal Pay" at our games were really funny and I want to thank all of you guys for the support. She said that you are the best fans in the world.

The on-field ceremony after the US defeated Nigeria was attended by former players.

The settlement was given preliminary approval by a federal judge. There will be a hearing in December.

We'd love to hear from you at letters@Time.com.