Former President Donald Trump’s company sued New York City Monday for allegedly wrongfully terminating contracts the Trump Organization had to operate city facilities.

NYC Mayor Bill de Blasio announced in January he was moving to terminate the contracts with the former president’s company following the Jan. 6 attack on the U.S. Capitol.

“The City has no right to terminate our contract,” Trump Organization officials said in a statement. “Mayor de Blasio’s actions are purely politically motivated.”

The lawsuit alleges wrongful termination of a long-term contract the company had to operate the city-owned golf course at Ferry Point in the Bronx, which wasn’t due to expire until 2032.

The other contracts were set to expire earlier this year and were not renewed.

The Trump Organization pocketed about $17 million per year from operating two Central Park ice skating rinks, the Central Park Carousel and the Trump Golf Links at Ferry Point.

In the wake of the January 6 attack, several other companies, including the PGA Tour, canceled contracts they had with the Trump Organization. Trump himself was suspended from several social media platforms, and Facebook recently announced it would keep the suspension active until after the 2022 midterm elections.

Source-ABC