In 1998, Compaq acquired Digital Equipment Corporation for a then-industry record of US$9 billion. The merger made Compaq, at the time, the world's second largest computer maker in the world in terms of revenue behind IBM. Digital Equipment, which had nearly twice as many employees as Compaq while generating half the revenue, had been a leading computer company during the 1970s and early 1980s. However, Digital had struggled during the 1990s, with high operating costs. For nine years the company had lost money or barely broke even, and had recently refocused itself as a "network solutions company". In 1995, Compaq had considered a bid for Digital but only became seriously interested in 1997 after Digital's major divestments and refocusing on the Internet. At the time of the acquisition, services accounted for 45 percent of Digital's revenues (about $6 billion) and their gross margins on services averaged 34 percent, considerably higher than Compaq's 25% margins on PC sales and also satisfying customers who had demanded more services from Compaq for years. Compaq had originally wanted to purchase only Digital's services business but that was turned down. When the announcement was made, it was initially viewed as a master stroke as it immediately gave Compaq a 22,000 person global service operation to help corporations handle major technological purchases (by 2001 services made up over 20% of Compaq's revenues, largely due to the Digital employees inherited from the merger), in order to compete with IBM. However it was also risky merger, as the combined company would have to lay off 2,000 employees from Compaq and 15,000 from Digital which would potentially hurt morale. Furthermore, Compaq fell behind schedule in integrating Digital's operations, which also distracted the company from its strength in low-end PCs where it used to lead the market in rolling out next-generation systems which let rival Dell grab market share. Reportedly Compaq had three consulting firms working to integrate Digital alone.