IBM CEO Ginni Rometty is stepping down

Ginni Rometty, one of the only remaining women at the top of a major U.S. company, is stepping down as CEO of IBM.

She's been with the tech giant for 40 years, serving as its chief executive for the past 8.

Romety will stay on as executive chairman but will retire at the end of the year.

Under her tenure, IBM has struggled to keep up with the shift to cloud computing. She tried to catch up through a series of deals - buying assets and selling off older IBM units.

Investors have watched IBM's stock fall since she took the CEO role in 2012.

She's being replaced by Arvind Krishna - the head of IBM's cloud and cognitive software division.