China imposed restrictions on exporting two metals that are crucial to parts of the semiconductor, telecommunications and electric-vehicle industries in an escalation of the country’s tit-for-tat trade war on technology with the U.S. and Europe.

Gallium and germanium, along with their chemical compounds, will be subject to export controls meant to protect Chinese national security starting Aug. 1, China’s Ministry of Commerce said in a statement Monday. Exporters for the two metals will need to apply for licenses from the commerce ministry if they want to start or continue to ship them out of the country, and will be required to report details of the overseas buyers and their applications, it said.

China is battling for technological dominance in everything from quantum computing to artificial intelligence and chip manufacturing. The U.S. has taken increasingly aggressive measures to keep China from gaining the upper-hand and has called upon allies in Europe and Asia to do the same, with some success. The export limits are also coming at a time when nations around the world are working to rid their supply chains of dependencies on overseas equipment.