The Major League Baseball Players Association has filed a grievance against the New York Yankees on behalf of released outfielder Jacoby Ellsbury in an attempt to regain the remaining $26 million on his contract, a source told The Associated Press.

Barring a settlement, the grievance will be heard by arbitrator Mark Irvings.

New York converted Ellsbury’s seven-year, $153 million contract to non-guaranteed, contending he violated the deal by getting unauthorized medical treatment, and then released the 36-year-old outfielder on Nov. 20.

The Yankees said Ellsbury was treated by Dr. Viktor Bouquette of Progressive Medical Center in Atlanta without the team’s permission.

Ellsbury contends any treatment he received without authorization was for a non-baseball-related injury or condition, which does not require the club’s consent.

He has not played since 2017 because of a variety of ailments. The MLBPA is seeking the more than $21.1 million that was on his contract for 2020 plus a $5 million buyout of a $21 million team option for 2021.

New York’s projected payroll is at the $248 million threshold where the highest luxury tax rate starts, and Ellsbury accounts for roughly $21.9 million of the tax payroll. The Yankees will pay 30% on the amount above $208 million through $228 million, 42% on the next $20 million and 75% on the amount above $248 million. If the Yankees exceed $248 million, their top pick in the 2021 amateur draft would be moved back 10 places.

New York declined comment, as did Ellsbury’s agent, Scott Boras.

Ellsbury hit .264 with 39 homers, 198 RBIs and 102 stolen bases in 520 games since joining the Yankees in 2014. He injured a muscle in his right side early during spring training in 2018, developed a bad back and had surgery that Aug. 6 to repair a torn labrum in his left hip. He experienced plantar fasciitis in his right foot during his rehab program before spring training this year.

Irvings is expected to decide next month on the union’s grievance against the Chicago Cubs over Kris Bryant. The third baseman debuted on April 17, 2015, leaving him one day shy of the service time needed to become a free agent after the 2020 season. Bryant contends he was held in the minors in a deliberate effort to delay his free-agent eligibility.

The Associated Press contributed to this report.