Vladimir Putin thanked Donald Trump for his efforts to end the war.