NEW YORK (CNNMoney) -- General Motors reported its best quarter since 1999 Wednesday, setting the stage the automaker to begin selling shares to the public once again.
GM reported it earned $1.96 billion in the quarter, compared to a loss a year earlier when it was still in the process of emerging from bankruptcy. It's the third straight quarter that the automaker has reported a profit.
The last time GM reported a profit this large was the first quarter of 1999, when it earned $2.05 billion. But by 2005 the company's declining market share and uncompetitive cost structure had plunged it into a series of annual losses that culminated in its 2009 federal bailout and bankruptcy filing.
What emerged from that was a new company without much of the debt, labor obligations and excess capacity of the old GM. Wednesday's earnings report put the company in position to post its first annual profit since 2004.
The results were in the middle of the earnings range the company signaled last week, when it said it would earn between $1.9 billion and $2.1 billion. The details released Wednesday showed most of the profit coming from its North American operations, where it made an operating profit of $2.1 billion.
The international unit, which includes China, earned $646 million, but that was balanced out by a loss of $559 million in Europe. The company now sells more cars in China than it does in the United States.
The company said it expects to be profitable again in the fourth quarter, although it cautioned income would be a "significantly lower run rate" than it earned in the first three quarters of the year. It cited a different production mix in the fourth quarter.
Also cited as reasons the fourth quarter will be weaker were new vehicle launch costs, particularly for the Chevrolet Cruze and Volt, and higher engineering expenses for future products.
The earnings report came about a week before GM will start selling shares to the public for the first time since it emerged from bankruptcy in July 2009.
The company expects to raise about $13 billion selling shares, putting it on course to be the third-largest initial public offering in U.S. history. That stock price target would value the company at about $52 billion, comparable to rival Ford Motor (F, Fortune 500).
Most of those stock sale proceeds will go to its existing shareholders, not the company, with the U.S. Treasury Department receiving a bit more than half of the shares. Treasury, which provided a $50 billion bailout to keep the company alive through its bankruptcy process, holds 61% of its common shares today, although that will fall to just over 40% once the initial sale takes place.
Treasury intends to space out the sale of its remaining GM shares over upcoming years so as not to flood the market with shares and drive down the price. Whether taxpayers make a profit on GM's bailout will determine the price Treasury receives when it sells those additional shares, but it will take a nearly a doubling in share price from the initial price target in order for taxpayers to break even.
McDonald's in Japan says profit and sales will fall short of expected targets this year, as fallout widens over a major food safety scandal. More
Amgen is the latest to continue corporate America's cost cutting strategy, even as the economy is supposedly on the mend More
Things are looking up for Twitter -- or at least, for its stock price. More
Bunch o Balloons allows multiple water balloons to be filled at once. Parents are loving it -- to the tune of $645,000. More
Steve Mason, a pastor from California, inherited more than $100,000 in student loan debt when his 27-year-old daughter died suddenly in 2009. With interest and late penalties, the debt has since ballooned to $200,000. More