Biden had trailed in the polls leading up to election day, which pointed to Bernie Sanders as the frontrunner.