The Weinstein Co. said Monday it’s getting a financial lifeline from Colony Capital to keep it afloat as sex scandals surrounding co-founder Harvey Weinstein have mired the Hollywood studio in chaos.

In a brief statement, Weinstein Co. said it has won an “immediate cash infusion” from Colony, which is headed by billionaire Thomas J. Barrack Jr.

Weinstein Co. and Colony said they have also entered talks for “a potential sale of all or a significant portion of the company’s assets,” to the firm run by Barrack, a real-estate tycoon who is one of President Trump’s closest outside advisors in the business world.

Weinstein Co.’s co-chairman, Bob Weinstein, had denied over the weekend that the company was seeking to sell or shut down the company after his brother Harvey was fired.

“We believe that Colony’s investment and sponsorship will help stabilize the Company’s current operations, as well as provide comfort to our critical distribution, production and talent partners around the world,” Weinstein Co. board member Tarak Ben Ammar said in a statement.

“We believe the company has substantial value and growth potential,” Barrack said. “We will help return the company to its rightful iconic position in the independent film and television industry.”

Weinstein Co. has reportedly faced defections by business partners including Amazon Studios after the New York Times and the New Yorker reported allegations of sexual harassment and rape in incidents that have spanned decades.

In a statement, Colony noted that it acquired Miramax, the studio founded by Harvey and Bob Weinstein, from the Walt Disney Co. in 2010. It also said it worked with the Weinstein Co.’s joint venture with Miramax, struck in 2013, to revitalize Miramax’s business by increasing distribution on digital platforms like Netfliz, Amazon, Apple and Hulu.