Freddie Mac, the U.S.-owned mortgage-finance company, will pay $7 billion to the Treasury Department after reporting the second-largest quarterly net income in the company’s history.

The government-sponsored enterprise, which has operated under federal conservatorship since it was seized in 2008, had net income of $4.6 billion for the three-month period that ended March 31, according to a statement released today as part of the McLean, Virginia-based company’s regulatory filing.

“Not surprisingly the strong rebound in the housing market of which we’re all aware continued to be reflected in our excellent financial performance in the first quarter,” Freddie Mac Chief Executive Officer Don Layton said on a conference call with reporters.

Freddie Mac finished the first quarter with net worth of $10 billion and is required to pay everything above $3 billion to Treasury in return for taxpayer aid under conservatorship. The company and Washington-based Fannie Mae have received almost $190 billion in assistance since they were seized amid losses that pushed them toward insolvency.

They returned to profitability as the housing market recovered, with Fannie Mae’s net income last year exceeding that of companies such as Wal-Mart Stores Inc., General Electric Co. and Berkshire Hathaway Inc., according to data compiled by Bloomberg.

Home Prices

U.S. home prices climbed at the fastest pace since May 2006, rising 9.3 percent in February from a year earlier, according to an April 30 report by the S&P/Case-Shiller index of property values.

Freddie Mac and Fannie Mae this year ceased paying 10 percent dividends that have returned $65 billion to Treasury and will instead turn over any profits above a permitted capital reserve.

Payments to Treasury by the two companies through fiscal year 2023 are projected to exceed by $51 billion the aid they have received under conservatorship, according to President Barack Obama’s spending plan released last month. Last year’s budget saw a $28 billion loss through 2022.

Fannie Mae and Freddie Mac, which were created by the federal government before becoming publicly traded companies, buy mortgages from lenders and package them into securities on which they guarantee payments of principal and interest.