The president also hit out at prominent campaigner the Reverend Al Sharpton.