US tech giant Microsoft is to sell augmented reality headsets to the US army in a bumper deal worth up to $21.9bn (£15.9bn) over 10 years.
The headsets are based on its HoloLens product, which allows users to see holograms laid over their actual environment.
The contract is for more than 120,000 headsets, which will be manufactured in the US.
Microsoft shares surged 3% after the announcement was made on Wednesday.
Augmented reality differs from virtual reality, in that it adds graphics to the user's existing field of view instead of replacing it with an entirely new environment.
As a result, users can see "heads-up displays" or holographs, which can add more information to what they already see.
HoloLens is commercially available for $3,500 per headset, with Microsoft selling it primarily to businesses, who often pair it with customised software applications.
Architecture firms, hospitals, universities, car manufacturers and US space agency Nasa are among the technology's users.
Over the past two years, Microsoft has worked with the US Army on the prototyping phase of what is called the Integrated Visual Augmentation System (IVAS), which is a military-grade version of the Hololens.
The company said that the Army had moved into the production phase of the project.
In a blog post, Microsoft said the headsets "will keep soldiers safer and make them more effective".
"The program delivers enhanced situational awareness, enabling information sharing and decision-making in a variety of scenarios," the post said.
After Microsoft announced the $480m IVAS contract in 2018, at least 94 workers petitioned the company to cancel the deal and stop developing "any and all weapons technologies".