SEATTLE (CBSDFW.COM/CNN Money) – Microsoft is giving Windows a demotion, and leaning into the cloud.

CEO Satya Nadella told employees on Thursday that Terry Myerson, leader of the Windows and Devices Group, is leaving the company. “Microsoft has been my work, my team, and my purpose for 21 years,” Myerson wrote in a LinkedIn blog post. “It is an emotional day.”

READ MORE: No Sentence Reduction For Man Convicted In 2015 Prophet Muhammad Cartoon Contest Attack In Garland

Myerson’s departure had been planned for “some time,” he added.

The shakeup includes the formation of two engineering teams that will prioritize Microsoft’s cloud and artificial intelligence products — a move that should make investors happy, said Brad Reback, a software analyst at Stifel.

Morgan Stanley said recently that Microsoft could hit $1 trillion in market value within a year, thanks in large part to the strengths of Azure, Microsoft’s cloud computing service, and the cloud-based Office 365 software suite.

Thursday’s announcement “further demonstrates that those are the growth engines going forward,” Reback said. And it aligns with Microsoft’s long-term priorities.

“Microsoft has actually been moving away from Windows and more towards the cloud, analytics and AI for the past 10 years,” explained Laura DiDio, an analyst at ITIC. “This did not happen overnight.”

READ MORE: Suspect Charged In Connection With Gas Explosion At Dallas Apartment Complex

So far, the company’s investment in the cloud, artificial intelligence and the ‘Internet of Things’ has paid off. Amy Hood, Microsoft’s chief financial officer, said in January that the company’s commercial cloud revenue grew 56 percent year-over-year. In that quarter, Windows commercial products and cloud services sales fell 4 percent.

It’s not unusual for Microsoft to blow up its organizational structure. In 2015, Nadella ousted three key executives, including the former Nokia CEO. That was just a year after Nadella replaced Steve Ballmer as CEO.

DiDio pointed out that Nadella has made major changes quickly during his tenure. “That’s the way you have to move,” to stay relevant, she said. “You’ve got to be agile to stay ahead of the game.”

The changes don’t mean that Microsoft is totally giving up on Windows, DiDio said. But they do mean that Nadella is focusing the company’s energies around stronger assets. “They’re de-emphasizing Windows,” she said, in order to become a stronger “player in cloud and artificial intelligence, because that’s where the money is.”

Earlier this month, Microsoft warned customers that it would be cracking down on what people say when using their services online. The company plans to ban accounts that use “offensive language” and will even go through private data to “investigate” people using Office, Xbox, Skype and other products.

(© Copyright 2018 Cable News Network, Inc., a Time Warner Company. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

MORE NEWS: Back To Business As Usual For Some In North Dallas Where Tornado Ripped Through 2 Years Ago