"At this moment in history ... core democratic principles seem to be continuously under attack," Obama said.