President Donald Trump said Tuesday that Turkey has agreed to remove Russian-made missile defense systems from its military arsenal so it can buy American F-35 fighter jets.

Turkey, a NATO country, was barred from the U.S. F-35 program in 2019 during Trump's first term, after Ankara purchased Russian-made S-400 missile defense systems.

U.S. officials have feared that Turkey's use of the Russian system could enable Moscow to gather information on the next-generation fighter jet's capabilities.