Windows developer Microsoft (MSFT) has revealed it currently holds a 27% stake in OpenAI. The ChatGPT developer has completed its restructuring into a non-profit, with an equity stake currently worth about $130 billion in its for-profit arm. Microsoft, which has backed OpenAI since 2019, now holds a 27% stake in the for-profit arm called Group PBC, valued at $135B.

Microsoft is now a major shareholder in Sam Altman’s AI giant. The company has invested over $13 billion in OpenAI over the last six years. Additionally, Microsoft says it held a 32.5% stake in the for-profit on an as-converted basis, excluding OpenAI’s recent funding rounds.

“As we step into this next chapter of our partnership, both companies are better positioned than ever to continue building great products that meet real-world needs, and create new opportunity for everyone and every business,” Microsoft said in a statement. The company will announce its quarterly earnings on Wednesday after the closing bell.

Per OpenAI, the agreement preserves key elements that have fueled the successful partnership. OpenAI will remain Microsoft’s frontier model partner, and Microsoft continues to have exclusive IP rights and Azure API exclusivity until Artificial General Intelligence (AGI). In addition, when OpenAI says it has reached Artificial General Intelligence (AGI), which is a term for an AI system that rivals or exceeds human intelligence, that claim will have to be verified by an independent expert panel, Microsoft said. The revenue share agreement between the two companies will remain until that panel verifies AGI. Microsoft can now pursue AGI independently or in collaboration with third parties, and OpenAI can now jointly develop some products with third parties.

Also Read: NextEra Stock in Focus: Google Will Buy Energy From Its Nuclear Plant

Furthermore, Microsoft also says OpenAI has agreed to purchase an incremental $250 billion of Azure services. However, Microsoft will no longer have a first right of refusal to be OpenAI’s compute provider. Shares in the former have climbed nearly 3% on Tuesday following the announcement, and are up over 6% since the start of October.

“The more OpenAI succeeds as a company, the more the non-profit’s equity stake will be worth, which the non-profit will use to fund its philanthropic work,” OpenAI said in a blog post Tuesday.