NEW YORK (CNNMoney) -- General Motors on Thursday reported its first annual profit since 2004, capping an impressive turnaround by the once-troubled automaker.
The profit stemmed from a rebound in U.S. sales, strong growth in China -- now GM's largest market -- and a much lower cost structure after a 2009 trip through bankruptcy.
GM's bankruptcy, financed by the U.S. and Canadian governments, allowed the company to shed debt, excess factories, four of its weaker brands and many other costs.
The nation's largest automaker, GM earned $4.7 billion for the year. That ends a string of five years of losses during which the cumulative red ink topped $100 billion. The profit was the biggest at the company since 1999.
In the fourth quarter, the company earned $510 million, or 31 cents a share, compared to a loss of $3.5 billion a year earlier. But excluding a charge related to the purchase of preferred shares, the company earned 52 cents a share in the quarter, which is better than forecasts of a 46 cent a share profit from analysts surveyed by Thomson Reuters.
The profit is good news for the nearly 50,000 hourly workers at GM's U.S. factories who will get profit-sharing bonuses averaging $4,300, the largest in the company's history and a bit better than had been promised to them in a letter last week.
Workers at rival Ford Motor (F, Fortune 500) received bonus checks of about $5,000, and Chrysler Group expects to pay yet undisclosed performance bonuses to its workers, despite continued losses there.
Shares of GM (GM) gained slightly in pre-market trading following the report, but were down 3% in morning trading on higher oil prices. Shares had already tumbled 5% in the last two days on the spike in oil prices sparked by unrest in Libya.
Shares are only slightly higher than its initial public offering last November. The IPO, the most lucrative in U.S. history, returned $13.5 billion to U.S. taxpayers.
Tesla is bringing in millions from other automakers desperate to buy credits it gets from states for selling green cars. More
The Internet asked Marissa Mayer to "please make Flickr awesome again," and in turn, the Yahoo CEO is revamping her company's photo-sharing service. More
Small business owners say they're not yet feeling the effects of an improving economy, and most aren't rushing to hire, or seeking funds to invest in their businesses. More
Federal and state officials are looking into so-called "pension advances," deals they say are digging retirees and military veterans deep into debt, while also putting individual investors at risk. More