In the latest development in the ongoing legal battle between Knicks owner James Dolan and fan favorite Charles Oakley, the two have been ordered into mediation by a federal appeals court, according to a document shared on Twitter Sunday by attorney Daniel Wallach.

The mediation is scheduled to take place via telephone on March 31, and both Dolan and Oakley must participate.

Last month, Oakley appealed the dismissal of his civil lawsuit against Dolan and Madison Square Garden. Oakley, 56, sued for defamation, assault and false imprisonment stemming from a February 2017 incident in which Oakley was arrested and thrown out of the Garden following an altercation with security. After the incident, Dolan banned Oakley from the Garden and suggested Oakley “may have a problem with alcohol.”

The suit was dismissed last month because Judge Richard Sullivan believed Oakley didn’t make a plausible legal argument to support his claims and that Dolan had the right to remove Oakley from the building.

Submit your Knicks questions here to be answered in an upcoming Post mailbag

Oakley recently criticized Dolan for getting into a feud with superfan Spike Lee, who said he felt mistreated after not being told he was supposed to enter the Garden through a new entrance.

“It’s a plantation over there. It’s bad,” Oakley said of the Garden on ESPN’s “Golic and Wingo.”

At the start of the season, the Knicks’ top five front office members and head coach were black. David Fizdale and Steve Mills have since been fired.