Two years after hitching its fate to Microsoft's Windows Phone software, a withered Nokia collapsed into the arms of the US software giant, agreeing to sell its main handset business for 5.44 billion euros ($7.2 billion).
Nokia, which will continue as a maker of networking equipment and holder of patents, was once the world's dominant handset manufacturer but was long since overtaken by Apple and Samsung in the highly competitive market for more powerful smartphones.
Nokia's Canadian boss Stephen Elop, who ran Microsoft's business software division before jumping to Nokia in 2010, will now return to the US firm as head of its mobile devices business.
He is being discussed as a possible replacement for Microsoft's retiring CEO Steve Ballmer, who is trying to remake the US firm into a gadget and services company like Apple before he departs, after disastrous attempts so far to compete in mobile devices.
In three years under Elop, Nokia saw its market share collapse and its share price shrivel as investors bet heavily that his strategy would fail.
In 2011, after writing a memo that said Nokia was falling behind and lacked the in-house technology to catch up, Elop made the controversial decision to use his former firm Microsoft's Windows Phone for smartphones, rather than Nokia's own software or Google's ubiquitous Android operating system.
Nokia, which had a 40 percent share of the handset market in 2007, now has a mere 15 percent market share, with an even smaller 3 percent share in smartphones.
The sale of the handset business is not the first dramatic turn in the 148-year history of a company which has sold everything from television sets to rubber boots. But it was felt as a hard blow in its native Finland, even among hard-nosed investors who saw the sale as a final chance to salvage value.
"I have mixed feelings, because I'm a Finn. As a Finnish person, I cannot like this deal. It ends one chapter in this Nokia story," said Juha Varis, Danske Capital's senior portfolio manager whose fund owns Nokia shares. "On the other hand, it was maybe the last opportunity to sell it."