US President Donald Trump said Thursday that the United States will leave a landmark global climate agreement.