Microsoft Corp (MSFT  ) plans to significantly enhance its artificial intelligence (AI) and cloud infrastructure presence in Spain with a $2.1 billion investment over the next two years, according to Vice Chair and President Brad Smith.

This announcement follows closely after the company declared a $3.45 billion AI-focused investment in Germany.

While Microsoft has yet to provide detailed specifics about the Spanish investment upon request, Smith emphasized the initiative's broader implications, Reuters reports.

He highlighted that the investment symbolizes more than the construction of data centers; it reflects Microsoft's long-standing commitment of 37 years to Spain's security and the digital transformation of its government, businesses, and citizens.

Last December, Smith and China's Commerce Minister Wang Wentao held discussions on artificial intelligence and the trade relationship between the U.S. and China.

This meeting comes after a recent dialogue between U.S. President Joe Biden and Chinese President Xi Jinping, signaling efforts by both countries to collaborate on AI and improve the operating conditions for international firms.

Wang conveyed China's dedication to improving conditions for foreign companies and expressed hope that Microsoft would contribute positively to AI collaboration between the U.S. and China.

Price Action: MSFT shares closed lower by 0.61% at $404.06 on Friday.