The Goldman Sachs Group (GS) reported net revenue of $9.07 billion, net earnings of $1.05 billion and diluted earnings per common share of $1.98 for the second quarter ended June 30, 2015.

This beat Q2 revenue estimates by $290 million, according to Seeking Alpha.

Goldman Sachs stated that this is its highest first-half net revenue in five years, reflecting record first-half results in investment banking and investment management. 

However, during the quarter, the firm recorded $1.45 billion in net provisions for mortgage-related litigation and regulatory matters.

As a result, these provisions reduced diluted earnings per common share for the second quarter of 2015 by $2.77, and reduced annualized ROE for the second quarter of 2015 and the first half of 2015 by 6.7 and 3.4 percentage points, respectively.

“We are pleased with our performance for the quarter,” said Lloyd C. Blankfein, chairman and CEO. “While uncertainty in the EU weighed on investors’ level of conviction, many of our businesses continued to benefit from generally improving economic conditions and healthy client activity.”

This report comes after Goldman Sachs posted net revenue of $10.62 billion in the first quarter, its best quarterly performance in four years.