Utility company SCANA ( SCG) said its second-quarter earnings rose 31.8% from the year-ago period, helped by a favorable legal ruling.

The company earned $58 million, or 50 cents a share, in the quarter, compared with $44 million, or 39 cents a share, a year ago. Adjusted for items, earnings were $53 million, or 46 cents a share in the most recent quarter. Analysts polled by Thomson First Call were expecting earnings of 49 cents a share.

Second-quarter revenue rose 6% from a year ago to $944 million as against analysts' expectation of $912.8 million.

The company expects to earn $2.80 a share to $2.95 a share for the full year, excluding items. Analysts expect earnings of $2.87 for the full year.

"The improvement in earnings was primarily attributable to 28 percent warmer weather across the Company's electric service area during the second quarter, as measured by cooling degree days, compared to the same period last year, " the company said.

Second-quarter operating income rose 43.5% from a year ago to $122 million and operating margin increased 338 basis points to 12.9%.

By segment, second-quarter revenue from electric business rose 5.3% from a year ago to $461 million and from gas-nonregulated business it rose 14.5% to $268 million. However, revenue from gas-regulated business fell 1.8% to $215 million.

This story was created through a joint venture between TheStreet.com and IRIS.