RatPac-Dune Entertainment and Bank of America Merrill Lynch have closed on a $300 million credit facility that will be used to fund upcoming titles from Warner Bros. Pictures.

The multi-year agreement, first announced in September, will be used by Warner Bros. and RatPac-Dune to co-finance as many as 75 upcoming titles. The studio’s hit “Gravity,” starring Sandra Bullock, was the first title to receive the coin.

The RatPac-Dune financing comes five months after the studio and longtime partner Legendary Entertainment agreed to terminate their longtime co-financing partnership at the end of the year.

The co-financing arrangement also covers boxing comedy “Grudge Match,” which opens on Christmas and stars Robert De Niro and Sylvester Stallone. It includes films from all genres and all budgets including New Line — but will exclude projects from other WB’s co-financing deals with Village Roadshow and Gulfstream, the studio’s distribution pact with Alcon and titles derived from the Harry Potter, Lord of the Rings and Hobbit franchises.

Bank of America Merrill Lynch is the lead arranger and administrative agent. The credit facility may be increased to as much as $400 million. JPMorgan Chase and Union Bank were co-leads while Bank of America Merrill Lynch acted as structuring agent on the equity.

RatPac Entertainment is a production partnership between Brett Ratner and Australian mogul James Packer while RatPac-Dune Entertainment is the film finance vehicle formed by Steven Mnuchin and RatPac Entertainment. Packer is the son of the late Australian media mogul Kerry Packer.

“The credit facility arranged by Bank of America Merrill Lynch is an important part of our new and exciting agreement with Warner Bros.,” Mnuchin said in a statement. “We appreciate the bank’s leadership in providing financing to help this partnership move forward.”