Donald Trump's election as the 45th president of the United States sparked protests across the country despite calls for unity from rival Hillary Clinton and President Barack Obama.

Trump lost the popular vote but won the Electoral College count in defeating Clinton in a hard-fought campaign that bitterly divided voters. Neither candidate won any popularity contests in polls taken before the election, with voters disappointed in both candidates.

In his acceptance speech, Trump pledged to be the president of all Americans. Demonstrators weren't buying it.

In Los Angeles, protesters burned Trump in effigy.

New York protesters climbed stop lights and marched down Fifth Avenue.

new york protest A protester climed a street sign pole outside Trump Tower in New York, Nov. 9, 2016. Photo: Andrew Kelly/Reuters

Others burned a flag.

new york 2 Demonstrators unhappy with the selection of Donald Trump as president burn a flag in New York, Nov. 9, 2016. Photo: Andrew Kelly/Reuters

Seattle protesters likened Trump to Hitler.

Washington Anti-Trump Seattle demonstrators likened president-elect Donald Trump to Hitler, Nov. 9, 2016. Photo: Jason Redmond/Reuters

seattle protesters Hundreds marched in protest of Trump's election in Seattle, Nov. 9, 2016. Photo: Jason Redmond/Reuters

seattle 2 Marchers took to the streets in Seattle to protest the election of Donald Trump, Nov. 9, 2016. Photo: Jason Redmond/Reuters

Thousands gathered outside Trump Tower in Chicago and shut down Lake Shore Drive.

Sheer emotion was on display in Philadelphia.

philadelphia 2 Robin Costroff, 28, was among those demonstrating against Donald Trump's victory in Philadelphia, Nov. 9, 2016. Photo: Mark Makela/Reuters

philadelphia protest Matt Hoke, 28, carried a flag as he protested Donald Trump's election in Philadelphia, Nov. 9, 2016. Photo: Mark Makela/Reuters

Protesters gathered outside Trump International Hotel & Tower in Las Vegas.

las vegas Las Vegas protesters demonstrated against the election of Donald Trump outside Trump International & Tower, Nov. 9, 2016. Photo: David Becker/Reuters

Latino protesters in Oakland, California, said Trump is not their president.

oakland protesters A sign reading, "He is not my president," is displayed by a protester in Oakland, California, Nov. 9, 2016. Photo: Noah Berger/Reuters