Hillary Clinton received higher grades than president-elect Donald Trump in a post-election Pew Research Center survey, which is the first time in its polling history where the losing candidate outperforms the presidential winner.

The survey, conducted after the Nov. 8 election, included interviews with voters who were originally interviewed before the election.

In the wake of the election, 30 percent of voters gave Trump an A or B grade, 19 percent gave him a C, 15 percent gave him a D and 35 percent gave him a failing grade.

Get Breaking News Delivered to Your Inbox

Clinton, who lost the Electoral College but who’s winning the popular vote, received an A or B grade from 43 percent of voters.

Half of voters, Pew said, said they are happy that Trump won while just as many, 48 percent, said they are unhappy. This split is similar to the one measured four years ago after President Obama was re-elected to a second term in 2012.

Fifty-six percent of voters said they expect Trump to have a successful first term -- a prediction shared by 97 percent of Trump voters. More than three-quarters of Clinton supporters, however, said they expect Trump to be unsuccessful.

The survey found 58 percent of Clinton supporters said they’re willing to give Trump a chance and 39 percent said they can’t see themselves giving him one.

An overwhelming majority of voters, 79 percent, said that despite Clinton’s loss, they still expect to see a woman president in their lifetime.

The poll surveyed 1,254 voters between Nov. 10 and 14 with a 3.4 percentage point margin of error.