An investment firm linked to Donald Trump has given the Weinstein Company “an immediate cash infusion,” the investment company announced Monday, staving off rumors of a near-imminent collapse.

The Weinstein Company confirmed in a statement that it reached a “preliminary agreement” with Colony Capital, founded by informal Trump adviser Thomas J. Barrack Jr., to keep operations running in the wake of the growing scandal over sexual assault allegations against co-founder Harvey Weinstein. Although the amount wasn’t disclosed, the deal also involved negotiations for Colony to purchase some or all of the film production company’s assets.

“We are pleased to invest in The Weinstein Company and to help it move forward. We believe the Company has substantial value and growth potential, and we look forward to working with the Company’s critical strategic distribution and production partners to help preserve and create value for all stakeholders, including its employees,” Barrack said in a statement. “We will help return the Company to its rightful iconic position in the independent film and television industry.”

Since Oct. 5, more than 30 women have accused the infamous producer of sexual harassment or assault, and the Academy of Motion Pictures Arts and Sciences voted to expel Weinstein in an emergency meeting Saturday.

The allegations also prompted four members of the Weinstein Company board to resign, and it’s not clear whether key executives like COO David Glasser will stay on. Companies like Amazon have also severed ties. But Bob Weinstein — who works out of the company’s Los Angeles office and specializes in less prestigious but more lucrative titles than his estranged older brother — insisted Friday that the company would survive the scandal in part because “the banks” had promised support.

“There is a plan. All I’m trying to do right now is go forward, figure out a plan, me and David Glasser and the board members have an idea of what we’d like to do, that we think would be the responsible thing to do for all the critics, rightfully so, with regards to the [Weinstein Company] side and yet for people to keep their jobs,” Bob told the Hollywood Reporter Friday. “And the pieces of the business that still can be resurrected and continue, we think that they should.”