Morgan Stanley swung to a $2.15 billion profit in the third quarter, helped by a large accounting gain, even as core revenue in trading, banking and wealth management operations fell.

The second-largest U.S. investment bank earned $1.15 per common share, compared with a loss of 7 cents per share in the year-ago quarter.

(Reporting by Lauren Tara LaCapra in New York; editing by John Wallace)