Morgan Stanley agreed to pay $3.2 billion to end a joint federal-state investigation into its handling of mortgage-backed securities, the fourth deal to be struck in a probe of the big U.S. banks' role in the subprime mortgage meltdown and the financial crisis it spawned.

The settlement, announced Thursday by federal and state officials, includes $550 million in cash and other benefits for New York, on top of $2.6 billion in payments previously disclosed in a regulatory filing.

The additional relief for New York includes $400 million for lower-cost rental housing, mortgage principal reduction and community purchases of distressed properties, according to a new release Thursday from New York's attorney general.

As part of the deal, Morgan Stanley admitted to having increased the level of risky loans that backed the securities it created. In a May 31, 2006, e-mail, the release said, the head of Morgan Stanley's team charged with scrutinizing the value of the securities asked a colleague, "Please do not mention the 'slightly higher risk tolerance' in these communications. We are running under the radar and do not want to document these types of things."

In November of that year, a member of the Morgan Stanley team e-mailed a list of loans the bank wasn't likely to buy, adding: "I assume you will want to do your 'magic' on this one?" In July 2006, other actions suggested what that magic might be, when an additional review resulted in clearing dozens of loans for purchase after less than one minute of review per loan file.

Thursday's settlement "continues my office's efforts to help struggling New York families recover from the housing crisis," New York Attorney General Eric Schneiderman, who serves as co-chair of the group that negotiated the deal, said in the statement. "Today's agreement is a significant step toward accountability and recovery."

Through his role in the working group, Schneiderman has obtained more than $2.5 billion in cash and relief from banks. That's more than the $2.2 billion that has gone to all other states combined from the joint settlements.

"We are pleased to have finalized these settlements involving legacy residential mortgage-backed securities matters," Morgan Stanley said, adding that it "has previously reserved for all amounts related to these settlements."

The joint federal-state working group has reached accords of $16.7 billion with Bank of America, $7 billion with Citigroup, and $13 billion with JPMorgan Chase.

A settlement with Goldman Sachs is likely in the coming months. The investment bank said last month that it had agreed pay the $5.1 billion or so as part of a deal with the U.S. task force, though the terms aren't final. Deutsche Bank AG may be next to reach a multibillion-dollar accord with the task force, Bloomberg Intelligence wrote last month.

The accord announced on Thursday follows other regulatory actions against Morgan Stanley over similar allegations.

In 2014, Morgan Stanley agreed to pay $1.25 billion after the Federal Housing Finance Agency accused it of selling faulty mortgage-backed securities to Fannie Mae and Freddie Mac. In July 2014, the firm reached a $275 million settlement with the Securities and Exchange Commission over claims that it understated the number of delinquent loans backing subprime mortgage securities.

Subscribe Now

Access to authoritative analysis and perspective and our data-driven report series.

14-Day Free Trial

No credit card required. Complete access to articles, breaking news and industry data.