Image copyright EPA Image caption A protester in Los Angeles sends a message to the electors

The US electoral college is expected to certify Donald Trump as president on Monday, despite a last-minute effort to thwart the Republican.

The institution's 538 electors will vote at state capitols nationwide.

A handful of Democratic electors have been organising a longshot bid to persuade their Republican counterparts to cast ballots against Mr Trump.

The process is usually a formality, but takes place this year amid claims Russian hackers tried to sway the vote.

With more than 30 states reporting as of 15:00 EST (20:00 GMT), Mr Trump had 219 of the 270 electoral votes needed compared with Hillary Clinton's 120 votes.

David Bright, a Democratic elector in Maine, attempted to cast his ballot for Vermont Senator Bernie Sanders but was ruled out of order and switched his vote to Mrs Clinton in a second round of voting.

As electors continued to cast their votes, protesters gathered for demonstrations in Colorado, Pennsylvania, South Carolina, Georgia, Texas and other states.

Remind me, what is the electoral college?

It was set up by the country's founding fathers as a compromise between allowing Congress and the people to elect the president.

Technically, Americans cast votes on election day for electors, not the candidates themselves.

The electors are mostly elected officials or party functionaries whose names are not on the ballot. They are generally unknown to the public apart from one or two exceptions such as former President Bill Clinton, who is a New York elector this year.

Anyone can become an elector, except for those who serve in the federal government, such as members of Congress.

Each state selects its own, either through state party conventions or being chosen by the party's central committee.

There are 538 electors in all, one for each member of Congress. A candidate needs to take at least 270 electoral votes - half of the total plus one - to win the White House. Mr Trump won 306 electors from 30 states.

More on the electoral college

Image copyright Reuters

What are the next steps?

Under federal law, electors must gather on 19 December, with each elector casting two votes - one for president and one for vice-president.

Their so-called Certificates of Vote must be transmitted by 28 December to Congress and the National Archives in Washington.

On 6 January, US Vice-President Joe Biden will preside as Congress officially tallies the electoral votes.

Once the votes are counted, the results are final, and Mr Trump would be all set for his noon inauguration on 20 January.

Why the controversy this year?

In November's presidential election, Democratic candidate Hillary Clinton won the popular vote by a margin of nearly three million, but only gained 232 electors because she lost crucial swing states. This has fuelled renewed calls for the electoral college to be scrapped, with critics arguing it is undemocratic and unfair.

Furthermore, US intelligence agencies have concluded that Russia hacked the emails of the Democratic National Committee - leaking embarrassing messages about Mrs Clinton's paid speeches to Wall Street and party infighting - in an attempt to put its thumb on the electoral scales for Mr Trump.

Ten electors - nine Democrats and one Republican - asked unsuccessfully for an intelligence briefing about Moscow's alleged role.

On Sunday, Clinton campaign chairman John Podesta upped the ante by suggesting the Trump team could even have colluded with Russia on the cyber-attack, which the Republican's camp denies.

Image copyright Reuters Image caption Protesters opposed to the electoral college circle the Capitol in Tallahassee, Florida

Who is trying to thwart Trump?

Millions of Americans who consider Mr Trump unfit to occupy the Oval Office have signed an online petition calling for Republican electors not to vote as directed by their state's popular ballot.

Some have posted electors copies of founding father Alexander Hamilton's writings in his Federalist Papers, which state that the meeting of the electoral college "affords a moral certainty, that the office of President will never fall to the lot of any man who is not in an eminent degree endowed with the requisite qualifications".

A handful of Democratic electors are so desperate to stop Mr Trump that they have even offered to vote against Hillary Clinton and unite with the other electors behind a consensus Republican candidate.

Are Trump's electors bound to vote for him?

Nothing in the US constitution or in federal law requires electors to vote one way or another.

Twenty-nine states and the District of Columbia bind their electors by law, though so-called "faithless electors" who defy the popular vote generally just face a fine.

History shows it is extremely unusual for an elector to defy the expressed will of his or her state's voters.

Image copyright Reuters

Can the electors stop Trump?

It is highly unlikely the electoral college will take the unprecedented step of changing the election's outcome.

Only one Republican elector, Chris Suprun of Texas, has come forward to say he will not cast his electoral vote for Mr Trump. But 38 Republican electors would have to defect to deny Mr Trump.

Even that would probably only delay the inevitable.

If no candidate reaches 270 in the electoral college, the House of Representatives must vote on the next president, and the Republican-controlled chamber would most likely choose Mr Trump anyway.