The president has called Kerry to congratulate him.