To try and keep a Windows phone in existence.
If it weren't for Nokia, there would have been NO WP oems...
And Elop killed the company to make it cheaper for MS to purchase (succeeded too).
Only problem was that all the good engineers bailed. Those that remained have ended up getting laid off, and MS can't do a decent OS to save the company.