The Democratic candidate faced immediate calls to drop out, with many Democrats withdrawing their endorsements.