The US Treasury is selling its remaining stake in insurer AIG, bringing an end to government ownership of the company four years after rescuing it from the brink of bankruptcy.

In a statement on Monday, the Treasury said it launched an underwritten public offering for its remaining 234.2 million shares of common stock.

At yesterday’s closing price of $33.26 a share, down 2.3 percent from Friday, the stake would total $7.81 billion. The sale will be led by Bank of America Merrill Lynch, Citigroup, Deutsche Bank, Goldman Sachs and JPMorgan.

Treasury also said it would continue to hold warrants to buy common stock even after the share offering is complete.

In 2008 AIG was rescued minutes before it would have had to file for bankruptcy. The bailout cost $182 billion.

AIG restructured and was able to repay the US plus generate a profit for taxpayers.