The president has made similar pledges in the past.