(Bloomberg) -- Blackstone Inc. has reached a deal to sell the Cosmopolitan casino and hotel on the Las Vegas Strip for $5.65 billion.

The deal will separate the property from the operations of the hotel, according to a statement Monday.

The Cosmopolitan, which opened in 2010, ran into financial trouble during its construction in the midst of the Great Recession. Owner Deutsche Bank AG, which built the property for $3.9 billion, sold it to Blackstone in 2014 for $1.73 billion. The asset manager spent $500 million on upgrades, it said the statement. 

Read more: Blackstone Said to Offer Cosmopolitan for $5 Billion or More

The sale will reap total profits of about $4.1 billion, including cash flow from operations at the property, The Wall Street Journal reported Monday, citing a Blackstone letter to fund investors. 

MGM Resorts International will take over operations of the Cosmopolitan, while a partnership between the Cherng Family Trust, Stonepeak Partners and Blackstone Real Estate Income Trust are buying the real estate, according to the statement.

Blackstone tried previously to find a buyer for the property at $4 billion or more. Prices for Las Vegas casinos have continued to rise despite the pandemic as real estate investment trusts purchase properties and split costs with management firms.

Casino companies have been shedding real estate, often holding on to the management of the properties. Apollo is buying the Venetian resort complex in Las Vegas for $6.25 billion in a partnership with Vici Properties Inc., a REIT.

MGM has sold casino properties while continuing to manage them. It agreed in July to sell two Las Vegas hotels at CityCenter to Blackstone for $3.89 billion. The Cosmopolitan sits between CityCenter and the Blackstone-owned Bellagio casino. 

(Adds background starting in sixth paragraph.)

©2021 Bloomberg L.P.