Six years after foreclosing on the Las Vegas property that became The Cosmopolitan, Deutsche Bank is ending its legal odyssey in the desert by selling the 2,995-room casino and resort to The Blackstone Group for $1.73 billion in cash.

The deal comes as the Las Vegas region continues to grapple with the fallout from a financial crisis that caused Sin City’s gambling trade to falter, its real estate values to plummet and local construction projects to grind to a halt.