The Treasury Department said on Tuesday that it had sold its remaining stake in the American International Group, earning about $7.6 billion from the sale.

The government sold the 234.2 million shares at $32.50 each, a small discount from the closing price of $33.36 on Monday. The block of shares represented a 15.9 percent stake in the insurer.

With the latest sale, taxpayers have gained about $22.7 billion from a bailout that many predicted would prompt a staggering loss.

Markets are nothing without socialism.