Donald Trump has become the third US president in history to be impeached by the House of Representatives, setting up a trial in the Senate that will decide whether he remains in office.

The House voted on two charges – that the president abused his power and that he had obstructed Congress.

Both votes fell along party lines with nearly all Democrats voting for the charges and all Republicans against.

As voting took place, President Trump was addressing a campaign rally.

He told the crowd in Battle Creek, Michigan: “While we’re creating jobs and fighting for Michigan, the radical left in Congress is consumed with envy and hatred and rage, you see what’s going on.”

The White House released a statement saying that the president was “confident that he will be fully exonerated” in a Senate trial.

The proceedings on Wednesday began with members of Mr Trump’s Republican Party calling for votes on procedural issues in an effort to frustrate the process.

That was followed by a vote on the rules to be set out for the impeachment, which kicked off six hours of partisan debate on the merits of the two impeachment charges against President Trump.

At about 20:30 local time (01:30 GMT), the House called for votes on the two charges: first, abuse of power, stemming from Mr Trump’s alleged attempt to pressure Ukraine to announce investigations into his Democratic political rival, Joe Biden; and second, obstruction of Congress, because the president allegedly refused to co-operate with the impeachment inquiry, withholding documentary evidence and barring his key aides from giving evidence.

The vote for the first article of impeachment, abuse of power, was passed 230-197 and the second, for obstruction of Congress, 229-198.

Being impeached places Donald Trump alongside only two other presidents in the nation’s history – Andrew Johnson and Bill Clinton – and sets up a trial in the Senate for his presidency.

And so it is done. Donald Trump now becomes the third member of the exclusive club that no-one wants to be a member of.

But the framers of the constitution with its impeachment provision could never have imagined the hyper-partisanship – on both sides – that has been witnessed during today’s sterile House proceedings. Each side with its own narrative, neither side listening to the other. And one can say with some certainty – I would bet all my yet-to-be-gifted Christmas presents – that it will be much the same once this becomes a trial in the Senate in the New Year.

Donald Trump will be acquitted. He won’t be forced from office. So what changes? Well, Donald Trump will have a place in the history books – and for a man with such a huge sense of self that will hurt. Acutely. But 2020? Far from this being a killer blow against President Trump, it might turbo charge his bid for a second term. The House Speaker Nancy Pelosi was always wary about going down the impeachment route. We’ll discover next November whether that concern was well founded.