Upon its 1998 release, the iMac G3 was an instant hit, selling 278,000 units in six weeks and over 800,000 in its first year, becoming the top-selling desktop in US stores. It brought Apple its first profit in three years and is credited with rescuing the company from near bankruptcy.