NEW YORK (CBSNewYork/AP) — Major League Soccer and its players’ union agreed in principle to a five-year labor contract, establishing free agency for the first time and averting a possible strike ahead of Friday’s season opener.

The deal, the culmination of talks that began last weekend in Washington, D.C., was announced Wednesday night and would replace the contract that expired Jan. 31.

READ MORE: Calls For Immediate Change Ring Out After 36-Year-Old Asian Man Stabbed In The Back In Lower Manhattan

“This agreement will provide a platform for our players, ownership and management to work together to help build Major League Soccer into one of the great soccer leagues in the world,” MLS Commissioner Don Garber said in a statement.

Under the agreement, players 28 and older could become free agents if they have eight seasons of MLS service and their contracts have expired, a person familiar with the details said. The person spoke on condition of anonymity because the details had not yet been announced.

The minimum salary would rise to $60,000, with a provision that some players could have a $50,000 minimum, the person said. The minimum was $48,500 for the first 24 roster spots on each team last year and $36,500 for the last six, with a requirement players at the lower figure had to be under 25 years old.

Each team’s salary budget will rise from $3.1 million last season to about $3.5 million this year. Only a portion of the salaries of high-priced designated players count against the budget.

“We now enter our 20th season with enormous momentum with our new television partnerships, dynamic star players from the US, Canada and abroad, and two new expansion teams in New York City and Orlando that will debut in front of more than 60,000 fans on Sunday in the Citrus Bowl,” Garber said.

READ MORE: New COVID Variant First Detected In New York City Spreading In Northeast

MLS’ season begins this weekend, with the defending champion Los Angeles Galaxy hosting Chicago in the opener. The Fire traveled to California on Wednesday for the match.

“We are pleased to finally turn our fans attention back to our players and the competition on the field as we get started on the 2015 season,” Bob Foose, executive director of the MLS Players Union, said in a statement.

Orlando and former FIFA Player of the Year Kaka host New York City and former Spanish World Cup champion David Villa on Sunday in the debut of the expansion teams that raise the league’s total to 20 teams.

The league and the U.S. Soccer Federation are in the first year of eight-year broadcast agreements with ESPN, Fox and Univision Deportes that they hope will increase MLS’s exposure and ratings.

MLS was established as a single entity in which the league owns all players’ contracts. While stars such as Seattle’s Clint Dempsey earn up to nearly $7 million, half the league’s players last September had salaries under $100,000, according to the union.

The previous labor contract, in 2010, was reached five days before the season opener. This deal, like the 2010 agreement, was reached with the assistance of the Federal Mediation and Conciliation Service. MLS has never had a work stoppage.

MORE NEWS: Evolving Social Media Apps Emphasize Talking Over Texting

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)