Hartford Financial Services Group Inc. announced Tuesday it has completed its previously announced equity and debt offerings so that it can repay the Treasury under its Capital Purchase Program.

Hartford, which ran into problems after investments by its life operations plummeted during the 2008 financial crisis, will repurchase preferred shares it issued to the Treasury. The government bought $3.4 billion of preferred shares from the Connecticut insurance company last year.

“We were pleased with the execution of the capital raise,” Liam E. McGee, Hartford’s chairman, president and chief executive officer said in a press release. “There was a high level of investor interest in our offerings and pricing was favorable, reflecting confidence in The Hartford’s future. With the funds secured, we are moving forward with our plans to repurchase Treasury’s preferred shares.”

Investors purchased 59.59 million shares of The Hartford’s common stock; 23 million depositary shares, each representing a 0.025% interest in a share of the company’s 7.25% mandatory convertible preferred stock; and $1.1 billion of its senior notes, consisting of $300 million of its 4% senior notes due 2015, $500 million of its 5.5% senior notes due 2020 and $300 million of its 6.625% senior notes due 2040.

The number of securities sold in the common stock and depositary shares offerings included 7.3 million shares of common stock and 3 million depositary shares.

Hartford plans, subject to approval, to use $425 million of the net proceeds from the debt offering, together with the net proceeds of its common stock and depositary shares offerings and available funds, to repurchase the $3.4 billion of preferred shares from the Treasury. The remaining proceeds will be used to fund the maturity of its senior debt maturing in 2010 and 2011.

Goldman, Sachs & Co. and J.P. Morgan Securities Inc. acted as joint bookrunning managers for the offering.