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.
Nearly all Democrats voted for the charges and every Republican against.
President Trump's Republicans control the Senate so it is highly unlikely he will be removed from power.
As voting took place in the House, Mr Trump was addressing a campaign rally in Battle Creek, Michigan.
He told a cheering crowd: "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.
What happened in the votes?
After 10 hours of partisan debate on the merits of the two impeachment charges against President Trump, the House called for votes at about 20:30 local time (01:30 GMT).
The first charge is abuse of power, stemming from Mr Trump's alleged attempt to pressure Ukraine to announce investigations into his Democratic political rival, Joe Biden.
Who's who in the Ukraine story
It passed by 230 votes to 197, almost completely on party lines. Only two Democrats opposed - New Jersey's Jeff Van Drew, who is set to leave the party, and Minnesota's Collin Peterson.
The second charge is 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.
It passed by 229-198. Democrat Jared Golden of Maine voted for the first charge but opposed this.
No Republicans supported impeachment, although ex-party member Justin Amash, from Michigan, did.
Democratic presidential candidate Tulsi Gabbard voted "present" on both charges - effectively an abstention. Two members were absent for personal reasons.
Being impeached places Donald Trump alongside only two other presidents in the nation's history - Andrew Johnson and Bill Clinton.
Trump impeachment: Pelosi warns Democrats not to celebrate
History was made when Democratic Speaker of the House Nancy Pelosi banged the gavel and made the impeachment of President Donald Trump official.
After hours of debate, the House had voted 231 to 197 on the first charge of abuse of power.
But as members of her party began to clap in celebration, Ms Pelosi shot them a glare to cut it out.
She has always maintained that impeaching a president was a solemn exercise.
BBC - REUTERS