Sempra Energy reported a net loss of $561 million, or $2.11 per share, on revenue of $2.56 billion in its second quarter.

In the second quarter of 2017, Sempra (NYSE: SRE) reported net income of $259 million, or $1.03 per share, on revenue of $2.53 billion.

The second quarter ends June 30 in Sempra’s fiscal year.

The most recent results included a $755 million impairment related to the planned sale of certain natural gas storage assets and a $145 million impairment related to the planned sale of U.S. wind investments. Had Sempra not put the charges on its books, the company said, it would have reported earnings of $361 million, or $1.35 per share.

Sempra is an energy services holding company.