Reuters reported that Brad Smith, vice chairman and president of the American software giant Microsoft, posted on the social networking site X that the company will invest US$2.1 billion in the next two years to expand its artificial intelligence (AI) and cloud computing infrastructure in Spain.

Previously, the company announced that it would invest 3.2 billion euros (approximately $3.45 billion) in Germany over the next two years, focusing on the development of artificial intelligence.

Microsoft did not immediately respond to requests for further details on its investment in Spain.

"Our investment is more than just building a data center, it is proof of our 37-year commitment to Spain, Spanish security, the development and digital transformation of Spanish governments, businesses and people," Smith said.