JPMorgan Chase today reported a third-quarter profit as the biggest US bank boosted revenue from trading and investment banking.

Today's results also marked a move past the huge legal claims that pushed it into a rare loss in the same quarter last year. 

The bank, confirming figures leaked earlier on an investment website, said it recorded net income of $5.6 billion, or $1.36 per share, for the three months ended September 30, compared with a loss of $380m a year earlier. 

Analysts had expected earnings of $1.38 per share, according to Thomson Reuters.

"The Corporate & Investment Bank saw strong performance in fees, maintaining a number one position in global (investment banking) fees year to date, with particular strength in equity capital markets," chief executive Jamie Dimon said in a statement. 

"In Markets, we saw increased activity and better performance overall, particularly in currencies and emerging markets," he said. 

The bank was hit last year by an after-tax expense of $7.2 billion to settle government allegations of wrongdoing related to mortgage instruments before the financial crisis. The latest results included a legal expense of $1 billion after tax. 

Revenue from fixed-income, currency and commodity trading rose 2.1% to $3.51 billion in the latest quarter compared with a year earlier, and was also slightly higher than in the preceding quarter. 

Market activity picked up in September, largely due to the European Central Bank's efforts to stimulate growth and a batch of data suggesting the US economy was strengthening. 

The bank did not provide a figure for costs related to an attack on it computers that was discovered in August and exposed the names and contact information of some 76 million households and seven million small businesses. 

JPMorgan suffered another technical embarrassment today when its results appeared on website shareholder.com hours ahead of their scheduled release time. 

A bank spokesman acknowledged that there had been a problem at shareholder.com, a Nasdaq OMX-owned website that hosts investor relations information for the bank, but did not explain how the early release happened. 

The bank said today that its total investment banking revenue rose 2% to $1.54 billion, driven by higher advisory fees. 

Net income from mortgage banking fell 38% to $439m. Mortgage lending by US banks has been shrinking as fewer homeowners refinance. 

JPMorgan has also been backing away from making home loans to less creditworthy borrowers because of doubts about its ability to recover money in foreclosures. 

JPMorgan is the first of the big US banks to report for the quarter. Citigroup and Wells Fargo also report today. Bank of America, the second-biggest US bank, will report tomorrow.